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.9498/0.9498, allocations: 120.4 MB / 139.5 MB, free: 480 kB / 126.1 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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.518e-05, allocations: 7.719 kB / 217.2 MB, free: 13.71 MB / 206.1 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 1.565/1.565, allocations: 254.4 MB / 471.7 MB, free: 10.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2484/1.814, allocations: 25.92 MB / 497.6 MB, free: 11.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/1.814, allocations: 2.188 kB / 497.6 MB, free: 11.71 MB / 446.1 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.0006287/1.815, allocations: 177.4 kB / 497.8 MB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/1.815, allocations: 172.7 kB / 497.9 MB, free: 11.47 MB / 446.1 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.02788/1.843, allocations: 9.618 MB / 0.4957 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006133/1.843, allocations: 450.9 kB / 0.4961 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/1.844, allocations: 97.22 kB / 0.4962 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/1.844, allocations: 260.9 kB / 0.4964 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/1.844, allocations: 113.1 kB / 0.4965 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/1.844, allocations: 18.69 kB / 0.4966 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03736/1.882, allocations: 19.27 MB / 0.5154 GB, free: 1.883 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/1.882, allocations: 55.77 kB / 0.5154 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/1.882, allocations: 104.5 kB / 0.5155 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02316/1.905, allocations: 11.31 MB / 0.5266 GB, free: 6.391 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.905, allocations: 0.9688 kB / 0.5266 GB, free: 6.391 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/1.905, allocations: 0 / 0.5266 GB, free: 6.391 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/1.905, allocations: 0.6562 kB / 0.5266 GB, free: 6.391 MB / 478.1 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.004434/1.91, allocations: 1.374 MB / 0.5279 GB, free: 4.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.91, allocations: 8.719 kB / 0.5279 GB, free: 4.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/1.91, allocations: 37.98 kB / 0.528 GB, free: 4.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/1.91, allocations: 189.2 kB / 0.5281 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/1.91, allocations: 12.88 kB / 0.5282 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/1.91, allocations: 20.38 kB / 0.5282 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/1.911, allocations: 359 kB / 0.5285 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.911, allocations: 5.062 kB / 0.5285 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/1.911, allocations: 7.938 kB / 0.5285 GB, free: 4.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/1.911, allocations: 19.98 kB / 0.5285 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/1.911, allocations: 214.9 kB / 0.5288 GB, free: 4.078 MB / 478.1 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.02066/1.932, allocations: 6.028 MB / 0.5346 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/1.932, allocations: 123.6 kB / 0.5348 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/1.932, allocations: 81.84 kB / 0.5348 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1245/2.057, allocations: 32.96 MB / 0.567 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.119e-05/2.057, allocations: 30.56 kB / 0.567 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=52): time 3.637e-06/2.057, allocations: 0 / 0.567 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.00131/2.058, allocations: 455.3 kB / 0.5675 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/2.058, allocations: 51.41 kB / 0.5675 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/2.058, allocations: 174.2 kB / 0.5677 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/2.058, allocations: 25.7 kB / 0.5677 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/2.058, allocations: 156.9 kB / 0.5679 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/2.058, allocations: 178.4 kB / 0.568 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/2.059, allocations: 53.69 kB / 0.5681 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001628/2.059, allocations: 338.8 kB / 0.5684 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/2.059, allocations: 88.41 kB / 0.5685 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/2.059, allocations: 145 kB / 0.5686 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/2.059, allocations: 261.5 kB / 0.5689 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/2.059, allocations: 3.938 kB / 0.5689 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005423/2.06, allocations: 338.2 kB / 0.5692 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/2.06, allocations: 7.938 kB / 0.5692 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/2.06, allocations: 4 kB / 0.5692 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/2.06, allocations: 113.3 kB / 0.5693 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/2.06, allocations: 8 kB / 0.5693 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005299/2.061, allocations: 0.612 MB / 0.5699 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/2.061, allocations: 32.02 kB / 0.57 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/2.061, allocations: 17.31 kB / 0.57 GB, free: 9.707 MB / 0.5137 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.0001553/2.061, allocations: 144.8 kB / 0.5701 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/2.061, allocations: 16.61 kB / 0.5701 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009907/2.062, allocations: 0.8062 MB / 0.5709 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005676/2.063, allocations: 383.2 kB / 0.5713 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/2.063, allocations: 7.938 kB / 0.5713 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/2.063, allocations: 7.984 kB / 0.5713 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/2.065, allocations: 1.315 MB / 0.5726 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/2.065, allocations: 4 kB / 0.5726 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/2.065, allocations: 73.22 kB / 0.5727 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/2.065, allocations: 97.78 kB / 0.5728 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/2.065, allocations: 16 kB / 0.5728 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004941/2.066, allocations: 0.6273 MB / 0.5734 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.066, allocations: 8.375 kB / 0.5734 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/2.066, allocations: 0.6322 MB / 0.574 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/2.067, allocations: 35.73 kB / 0.574 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/2.067, allocations: 27.84 kB / 0.5741 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/2.067, allocations: 12 kB / 0.5741 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/2.067, allocations: 47.75 kB / 0.5741 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/2.067, allocations: 20.19 kB / 0.5741 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002826/2.067, allocations: 245.2 kB / 0.5744 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/2.067, allocations: 3.938 kB / 0.5744 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003487/2.071, allocations: 1.356 MB / 0.5757 GB, free: 3.57 MB / 0.5137 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.007176/2.078, allocations: 1.838 MB / 0.5775 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007762/2.079, allocations: 468.8 kB / 0.578 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/2.079, allocations: 4 kB / 0.578 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003249/2.079, allocations: 185 kB / 0.5781 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/2.08, allocations: 188.4 kB / 0.5783 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/2.082, allocations: 0.9086 MB / 0.5792 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/2.082, allocations: 240.8 kB / 0.5794 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001491/2.082, allocations: 34.83 kB / 0.5795 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/2.082, allocations: 36.5 kB / 0.5795 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/2.082, allocations: 0 / 0.5795 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.07781/2.16, allocations: 52.81 MB / 0.6311 GB, free: 11.05 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.916119266301394] Failed to read output from testmodel.py, exit status != 0: 2.368412673473358 2.631687175 0.723680566 Calling exit ...