Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.559/0.559, allocations: 120.4 MB / 139.5 MB, free: 12.98 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 216.7 MB, free: 9.133 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.119e-05, allocations: 2.281 kB / 216.7 MB, free: 9.129 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine): time 0.9919/0.9919, allocations: 254.4 MB / 471.2 MB, free: 8.676 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2583/1.25, allocations: 25.89 MB / 497.1 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/1.25, allocations: 3.719 kB / 497.1 MB, free: 0.8633 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:38:3-39:44:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005236/1.251, allocations: 182 kB / 497.2 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/1.251, allocations: 169.5 kB / 497.4 MB, free: 0.8633 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01749/1.269, allocations: 9.617 MB / 0.4951 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005935/1.269, allocations: 454.7 kB / 0.4956 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/1.269, allocations: 98.73 kB / 0.4957 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/1.27, allocations: 265.5 kB / 0.4959 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/1.27, allocations: 102.8 kB / 0.496 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/1.27, allocations: 20.59 kB / 0.496 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02251/1.292, allocations: 19.28 MB / 0.5149 GB, free: 2.5 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/1.293, allocations: 50.52 kB / 0.5149 GB, free: 2.453 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/1.293, allocations: 101.7 kB / 0.515 GB, free: 2.359 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0156/1.308, allocations: 11.32 MB / 0.5261 GB, free: 7.406 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.308, allocations: 1.906 kB / 0.5261 GB, free: 7.406 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.308, allocations: 3.938 kB / 0.5261 GB, free: 7.402 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/1.308, allocations: 0 / 0.5261 GB, free: 7.402 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.00366/1.312, allocations: 1.377 MB / 0.5274 GB, free: 5.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.312, allocations: 8.031 kB / 0.5274 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/1.312, allocations: 70.72 kB / 0.5275 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/1.312, allocations: 32.7 kB / 0.5275 GB, free: 5.879 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/1.312, allocations: 183.2 kB / 0.5277 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/1.312, allocations: 13.41 kB / 0.5277 GB, free: 5.668 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/1.312, allocations: 27.34 kB / 0.5277 GB, free: 5.645 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/1.313, allocations: 356.5 kB / 0.5281 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.313, allocations: 3.844 kB / 0.5281 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/1.313, allocations: 8 kB / 0.5281 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/1.313, allocations: 15.98 kB / 0.5281 GB, free: 5.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/1.313, allocations: 218.9 kB / 0.5283 GB, free: 5.043 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009722/1.323, allocations: 6.111 MB / 0.5343 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/1.323, allocations: 113.1 kB / 0.5344 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/1.323, allocations: 81.84 kB / 0.5345 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05423/1.377, allocations: 32.96 MB / 0.5666 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/1.377, allocations: 41.75 kB / 0.5667 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/1.377, allocations: 0 / 0.5667 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.0008528/1.378, allocations: 448.9 kB / 0.5671 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/1.378, allocations: 59.41 kB / 0.5672 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/1.378, allocations: 236 kB / 0.5674 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/1.378, allocations: 30.45 kB / 0.5674 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/1.378, allocations: 149.1 kB / 0.5676 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/1.378, allocations: 167.5 kB / 0.5677 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/1.379, allocations: 61.64 kB / 0.5678 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/1.379, allocations: 334.8 kB / 0.5681 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/1.379, allocations: 88.47 kB / 0.5682 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/1.379, allocations: 147.7 kB / 0.5683 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/1.379, allocations: 280.3 kB / 0.5686 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/1.379, allocations: 0 / 0.5686 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003233/1.379, allocations: 334.5 kB / 0.5689 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.379, allocations: 11.94 kB / 0.5689 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.379, allocations: 3 kB / 0.5689 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/1.38, allocations: 105 kB / 0.569 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.802e-05/1.38, allocations: 12.66 kB / 0.569 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000328/1.38, allocations: 0.6043 MB / 0.5696 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/1.38, allocations: 35.67 kB / 0.5697 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/1.38, allocations: 8 kB / 0.5697 GB, free: 10.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.38, allocations: 148.8 kB / 0.5698 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/1.38, allocations: 28.56 kB / 0.5698 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/1.381, allocations: 0.8083 MB / 0.5706 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003161/1.381, allocations: 391.2 kB / 0.571 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.381, allocations: 0 / 0.571 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.381, allocations: 4.547 kB / 0.571 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.382, allocations: 1.379 MB / 0.5724 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.382, allocations: 11.94 kB / 0.5724 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/1.382, allocations: 70.09 kB / 0.5724 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/1.383, allocations: 92.47 kB / 0.5725 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.383, allocations: 16 kB / 0.5725 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003455/1.383, allocations: 0.6294 MB / 0.5732 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.383, allocations: 7.75 kB / 0.5732 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/1.383, allocations: 0.6342 MB / 0.5738 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/1.383, allocations: 51.62 kB / 0.5738 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/1.383, allocations: 27.95 kB / 0.5739 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/1.383, allocations: 11.94 kB / 0.5739 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/1.383, allocations: 46.88 kB / 0.5739 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/1.384, allocations: 21.5 kB / 0.5739 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001972/1.384, allocations: 287 kB / 0.5742 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/1.384, allocations: 0 / 0.5742 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002767/1.386, allocations: 1.363 MB / 0.5755 GB, free: 4.512 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004003/1.39, allocations: 2.904 MB / 0.5784 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004514/1.391, allocations: 471.4 kB / 0.5788 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.391, allocations: 0 / 0.5788 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/1.391, allocations: 189.1 kB / 0.579 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/1.392, allocations: 216.7 kB / 0.5792 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/1.395, allocations: 4.156 MB / 0.5833 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/1.395, allocations: 241.5 kB / 0.5835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.862e-05/1.396, allocations: 47.77 kB / 0.5835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.396, allocations: 156.5 kB / 0.5837 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/1.396, allocations: 0 / 0.5837 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0738/1.469, allocations: 61.04 MB / 0.6433 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.61, allocations: 10.41 kB / 0.6433 GB, free: 15.39 MB / 0.5886 GB " [Timeout remaining time 648] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.370772443711758] Failed to read output from testmodel.py, exit status != 0: 11.982087498530746 12.094997404 10.784199301 Calling exit ...