Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8086/0.8086, allocations: 111.6 MB / 131 MB, free: 5.09 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 175.7 MB, free: 9.445 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.785e-05, allocations: 7.328 kB / 175.7 MB, free: 9.441 MB / 170.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.Fluid.Examples.SimpleExamples.TestSteamEngine): time 1.729/1.729, allocations: 255.2 MB / 430.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4768/2.206, allocations: 189.5 MB / 0.6059 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/2.206, allocations: 15.88 kB / 0.6059 GB, free: 15.86 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/SteamEngine.mo:33:3-34:79:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/SteamEngine.mo:35:3-36:77:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005921/2.207, allocations: 189.9 kB / 0.6061 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004029/2.207, allocations: 190.6 kB / 0.6063 GB, free: 15.48 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der 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:964:9-964: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ps.mo:51:3-51:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ps.mo:51:3-51:60:writable] Warning: dh2satp 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.03904/2.246, allocations: 14.66 MB / 0.6206 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008833/2.247, allocations: 0.5408 MB / 0.6211 GB, free: 400 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/2.247, allocations: 193.1 kB / 0.6213 GB, free: 204 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000458/2.248, allocations: 335.1 kB / 0.6216 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/2.248, allocations: 155.5 kB / 0.6218 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/2.248, allocations: 32 kB / 0.6218 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04746/2.295, allocations: 23.93 MB / 0.6452 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/2.296, allocations: 103.6 kB / 0.6453 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002929/2.296, allocations: 143.6 kB / 0.6454 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.03614/2.332, allocations: 15.61 MB / 0.6607 GB, free: 7.836 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/2.332, allocations: 0 / 0.6607 GB, free: 7.836 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.263e-06/2.332, allocations: 0 / 0.6607 GB, free: 7.836 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.385e-06/2.332, allocations: 0 / 0.6607 GB, free: 7.836 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.006824/2.339, allocations: 2.276 MB / 0.6629 GB, free: 5.508 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/2.339, allocations: 19.97 kB / 0.6629 GB, free: 5.488 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/2.339, allocations: 79.67 kB / 0.663 GB, free: 5.41 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/2.34, allocations: 286.5 kB / 0.6632 GB, free: 5.105 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/2.34, allocations: 29 kB / 0.6633 GB, free: 5.078 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/2.34, allocations: 36 kB / 0.6633 GB, free: 5.043 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007512/2.34, allocations: 443.6 kB / 0.6637 GB, free: 4.566 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/2.34, allocations: 7.875 kB / 0.6637 GB, free: 4.559 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/2.34, allocations: 16 kB / 0.6638 GB, free: 4.543 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/2.34, allocations: 15.98 kB / 0.6638 GB, free: 4.527 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/2.341, allocations: 222.8 kB / 0.664 GB, free: 4.312 MB / 0.573 GB 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.08241/2.423, allocations: 22.62 MB / 0.6861 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/2.424, allocations: 106.9 kB / 0.6862 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/2.424, allocations: 63.67 kB / 0.6862 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2958/2.719, allocations: 38.26 MB / 0.7236 GB, free: 292.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/2.719, allocations: 33.39 kB / 0.7236 GB, free: 292.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/2.719, allocations: 4 kB / 0.7236 GB, free: 292.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0009489/2.72, allocations: 348.8 kB / 0.724 GB, free: 292.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/2.72, allocations: 58.59 kB / 0.724 GB, free: 292.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/2.721, allocations: 413.9 kB / 0.7244 GB, free: 292 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/2.721, allocations: 33.7 kB / 0.7245 GB, free: 292 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/2.721, allocations: 295.3 kB / 0.7247 GB, free: 291.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/2.721, allocations: 124.8 kB / 0.7249 GB, free: 291.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/2.721, allocations: 99.25 kB / 0.725 GB, free: 291.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/2.721, allocations: 0.5235 MB / 0.7255 GB, free: 291 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/2.721, allocations: 72.47 kB / 0.7255 GB, free: 290.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/2.722, allocations: 235.1 kB / 0.7258 GB, free: 290.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/2.722, allocations: 351.2 kB / 0.7261 GB, free: 290.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/2.722, allocations: 4 kB / 0.7261 GB, free: 290.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005457/2.722, allocations: 371.4 kB / 0.7265 GB, free: 289.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/2.722, allocations: 8.469 kB / 0.7265 GB, free: 289.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/2.722, allocations: 8 kB / 0.7265 GB, free: 289.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/2.723, allocations: 116.6 kB / 0.7266 GB, free: 289.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/2.723, allocations: 39.86 kB / 0.7266 GB, free: 289.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003903/2.723, allocations: 0.8841 MB / 0.7275 GB, free: 288.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/2.723, allocations: 39.42 kB / 0.7275 GB, free: 288.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/2.723, allocations: 19.98 kB / 0.7275 GB, free: 288.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,steamEngine1.fluid,puitsP.fluid,steamEngine1.C2.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001432/2.724, allocations: 194.9 kB / 0.7277 GB, free: 288.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/2.724, allocations: 39.75 kB / 0.7278 GB, free: 288.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/2.724, allocations: 454 kB / 0.7282 GB, free: 288 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003782/2.725, allocations: 342.1 kB / 0.7285 GB, free: 287.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/2.725, allocations: 0 / 0.7285 GB, free: 287.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/2.725, allocations: 3.984 kB / 0.7285 GB, free: 287.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/2.726, allocations: 1.127 MB / 0.7296 GB, free: 286.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/2.726, allocations: 4 kB / 0.7296 GB, free: 286.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/2.726, allocations: 39.98 kB / 0.7297 GB, free: 286.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/2.726, allocations: 89.58 kB / 0.7298 GB, free: 286.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/2.726, allocations: 9 kB / 0.7298 GB, free: 286.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003255/2.727, allocations: 0.8602 MB / 0.7306 GB, free: 285.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/2.727, allocations: 0 / 0.7306 GB, free: 285.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/2.727, allocations: 0.5593 MB / 0.7311 GB, free: 284.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/2.727, allocations: 77.11 kB / 0.7312 GB, free: 284.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/2.727, allocations: 6.297 kB / 0.7312 GB, free: 284.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/2.727, allocations: 8 kB / 0.7312 GB, free: 284.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/2.727, allocations: 27.89 kB / 0.7313 GB, free: 284.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/2.727, allocations: 8.625 kB / 0.7313 GB, free: 284.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000176/2.728, allocations: 255 kB / 0.7315 GB, free: 284.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/2.728, allocations: 0 / 0.7315 GB, free: 284.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004302/2.732, allocations: 2.076 MB / 0.7335 GB, free: 282.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00831/2.74, allocations: 3.241 MB / 0.7367 GB, free: 280 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006891/2.741, allocations: 413.9 kB / 0.7371 GB, free: 279.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/2.741, allocations: 0.9375 kB / 0.7371 GB, free: 279.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/2.741, allocations: 177.1 kB / 0.7373 GB, free: 279.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/2.742, allocations: 198.4 kB / 0.7375 GB, free: 279.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/2.743, allocations: 0.8772 MB / 0.7383 GB, free: 278.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/2.743, allocations: 267.8 kB / 0.7386 GB, free: 278 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001709/2.744, allocations: 49.62 kB / 0.7386 GB, free: 278 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/2.744, allocations: 32.5 kB / 0.7386 GB, free: 277.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/2.744, allocations: 4 kB / 0.7387 GB, free: 277.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.06957/2.813, allocations: 70.72 MB / 0.8077 GB, free: 207.5 MB / 0.6198 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.72173761704471]