Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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.4843/0.4843, allocations: 111.6 MB / 131.2 MB, free: 4.582 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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 176.2 MB, free: 9.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.544e-05, allocations: 6.312 kB / 176.2 MB, free: 9.152 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.TestDiaphragm): time 0.9964/0.9964, allocations: 257.1 MB / 433.3 MB, free: 352 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3154/1.312, allocations: 184.2 MB / 0.603 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/1.312, allocations: 11.94 kB / 0.603 GB, free: 14.32 MB / 0.5261 GB [/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). [/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/PressureLosses/Diaphragm.mo:27:3-28:80: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/PressureLosses/Diaphragm.mo:29:3-30:78:writable] Warning: Connector C2 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.00011/1.312, allocations: 47.52 kB / 0.6031 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002631/1.312, allocations: 118.9 kB / 0.6032 GB, free: 14.16 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/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02049/1.333, allocations: 12.41 MB / 0.6153 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/1.333, allocations: 418.6 kB / 0.6157 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/1.333, allocations: 177.9 kB / 0.6159 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/1.334, allocations: 267.4 kB / 0.6161 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/1.334, allocations: 123.6 kB / 0.6162 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/1.334, allocations: 36 kB / 0.6163 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02197/1.356, allocations: 19.67 MB / 0.6355 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/1.356, allocations: 91.67 kB / 0.6356 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/1.356, allocations: 135.7 kB / 0.6357 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/1.369, allocations: 12.89 MB / 0.6483 GB, free: 15.87 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.369, allocations: 8 kB / 0.6483 GB, free: 15.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.543e-06/1.369, allocations: 0 / 0.6483 GB, free: 15.86 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.49e-06/1.369, allocations: 0 / 0.6483 GB, free: 15.86 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002509/1.372, allocations: 2.006 MB / 0.6502 GB, free: 13.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/1.372, allocations: 11.98 kB / 0.6503 GB, free: 13.79 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.827e-05/1.372, allocations: 75.72 kB / 0.6503 GB, free: 13.72 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/1.372, allocations: 262.8 kB / 0.6506 GB, free: 13.43 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/1.372, allocations: 29 kB / 0.6506 GB, free: 13.41 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/1.372, allocations: 35.94 kB / 0.6506 GB, free: 13.37 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/1.372, allocations: 375.7 kB / 0.651 GB, free: 12.95 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.372, allocations: 0 / 0.651 GB, free: 12.95 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/1.372, allocations: 15.98 kB / 0.651 GB, free: 12.94 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.372, allocations: 12.69 kB / 0.651 GB, free: 12.93 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/1.373, allocations: 159.7 kB / 0.6512 GB, free: 12.77 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/1.377, allocations: 3.479 MB / 0.6546 GB, free: 9.223 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/1.377, allocations: 67.11 kB / 0.6546 GB, free: 9.145 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/1.377, allocations: 19.62 kB / 0.6547 GB, free: 9.121 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3424/1.719, allocations: 89.02 MB / 0.7416 GB, free: 91.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/1.719, allocations: 40.3 kB / 0.7416 GB, free: 91.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/1.719, allocations: 0 / 0.7416 GB, free: 91.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004804/1.72, allocations: 162 kB / 0.7418 GB, free: 91.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/1.72, allocations: 83.95 kB / 0.7419 GB, free: 91.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/1.72, allocations: 349.5 kB / 0.7422 GB, free: 90.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/1.72, allocations: 25.7 kB / 0.7422 GB, free: 90.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/1.72, allocations: 286.7 kB / 0.7425 GB, free: 90.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/1.72, allocations: 29.47 kB / 0.7425 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/1.72, allocations: 79.03 kB / 0.7426 GB, free: 90.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.392e-05/1.72, allocations: 0.495 MB / 0.7431 GB, free: 90.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/1.72, allocations: 33.7 kB / 0.7431 GB, free: 90.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/1.72, allocations: 212.5 kB / 0.7433 GB, free: 89.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/1.72, allocations: 225.2 kB / 0.7435 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.72, allocations: 0 / 0.7435 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002692/1.721, allocations: 243.6 kB / 0.7438 GB, free: 89.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.721, allocations: 6.156 kB / 0.7438 GB, free: 89.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.721, allocations: 4.531 kB / 0.7438 GB, free: 89.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/1.721, allocations: 94.44 kB / 0.7439 GB, free: 89.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/1.721, allocations: 41.5 kB / 0.7439 GB, free: 89.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002283/1.722, allocations: 0.8225 MB / 0.7447 GB, free: 88.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/1.722, allocations: 35.53 kB / 0.7447 GB, free: 88.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/1.722, allocations: 9.438 kB / 0.7448 GB, free: 88.79 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 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.608e-05/1.722, allocations: 177.5 kB / 0.7449 GB, free: 88.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/1.722, allocations: 28.42 kB / 0.745 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/1.722, allocations: 157 kB / 0.7451 GB, free: 88.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.722, allocations: 8.031 kB / 0.7451 GB, free: 88.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.722, allocations: 5.016 kB / 0.7451 GB, free: 88.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.722, allocations: 0 / 0.7451 GB, free: 88.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/1.722, allocations: 234 kB / 0.7453 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.722, allocations: 1.312 kB / 0.7453 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/1.722, allocations: 12.33 kB / 0.7454 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/1.722, allocations: 66.91 kB / 0.7454 GB, free: 88.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/1.722, allocations: 0 / 0.7454 GB, free: 88.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001701/1.723, allocations: 0.8271 MB / 0.7462 GB, free: 87.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.723, allocations: 0 / 0.7462 GB, free: 87.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/1.723, allocations: 165 kB / 0.7464 GB, free: 87.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/1.723, allocations: 38.03 kB / 0.7464 GB, free: 87.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/1.723, allocations: 2.391 kB / 0.7464 GB, free: 87.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/1.723, allocations: 7.219 kB / 0.7464 GB, free: 87.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/1.723, allocations: 4.172 kB / 0.7464 GB, free: 87.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/1.723, allocations: 8.562 kB / 0.7464 GB, free: 87.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.215e-05/1.723, allocations: 222.4 kB / 0.7466 GB, free: 87.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/1.723, allocations: 0 / 0.7466 GB, free: 87.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002113/1.725, allocations: 1.638 MB / 0.7482 GB, free: 87.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00383/1.729, allocations: 2.696 MB / 0.7509 GB, free: 86.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000255/1.729, allocations: 117.7 kB / 0.751 GB, free: 86.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/1.729, allocations: 0 / 0.751 GB, free: 86.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/1.729, allocations: 41.45 kB / 0.751 GB, free: 86.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/1.73, allocations: 72.84 kB / 0.7511 GB, free: 86.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/1.73, allocations: 0.4945 MB / 0.7516 GB, free: 86.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/1.73, allocations: 91.11 kB / 0.7517 GB, free: 86.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.174e-05/1.73, allocations: 40.64 kB / 0.7517 GB, free: 86.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/1.731, allocations: 29.72 kB / 0.7517 GB, free: 86.48 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/1.731, allocations: 0 / 0.7517 GB, free: 86.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.03391/1.764, allocations: 49.8 MB / 0.8004 GB, free: 46.67 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.498263425193727]