Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.4891/0.4891, allocations: 111.6 MB / 131.5 MB, free: 4.418 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.Examples.SimpleExamples.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 176.6 MB, free: 8.891 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.209e-05, allocations: 2.312 kB / 176.6 MB, free: 8.887 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.Examples.SimpleExamples.TestCentrifugalPump13): time 1.134/1.134, allocations: 262.9 MB / 439.6 MB, free: 9.098 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.02418/1.158, allocations: 29.9 MB / 469.5 MB, free: 11.08 MB / 426.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/1.158, allocations: 8 kB / 469.5 MB, free: 11.07 MB / 426.9 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80: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/CentrifugalPump.mo:66:3-67:78: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/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17:78: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/Sink.mo:10:3-11:80: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.0003099/1.158, allocations: 107.3 kB / 469.6 MB, free: 10.96 MB / 426.9 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/1.159, allocations: 121 kB / 469.7 MB, free: 10.84 MB / 426.9 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01379/1.172, allocations: 8.751 MB / 478.4 MB, free: 2.062 MB / 426.9 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/1.173, allocations: 462.1 kB / 478.9 MB, free: 1.609 MB / 426.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/1.173, allocations: 186.6 kB / 479.1 MB, free: 1.422 MB / 426.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/1.173, allocations: 271.3 kB / 479.3 MB, free: 1.156 MB / 426.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/1.173, allocations: 143.6 kB / 479.5 MB, free: 1.016 MB / 426.9 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/1.173, allocations: 32 kB / 479.5 MB, free: 0.9844 MB / 426.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/1.188, allocations: 14.3 MB / 493.8 MB, free: 2.66 MB / 442.9 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/1.188, allocations: 195.3 kB / 494 MB, free: 2.469 MB / 442.9 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/1.188, allocations: 151.4 kB / 494.2 MB, free: 2.32 MB / 442.9 MB Notification: Performance of NFConvertDAE.convert: time 0.3108/1.499, allocations: 9.898 MB / 0.4922 GB, free: 16.88 MB / 443.2 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.499, allocations: 0 / 0.4922 GB, free: 16.88 MB / 443.2 MB Notification: Performance of FrontEnd: time 7.81e-07/1.499, allocations: 1.125 kB / 0.4922 GB, free: 16.88 MB / 443.2 MB Notification: Performance of Transformations before backend: time 7.314e-06/1.499, allocations: 0 / 0.4922 GB, free: 16.88 MB / 443.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00413/1.503, allocations: 1.795 MB / 0.494 GB, free: 15.85 MB / 443.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/1.503, allocations: 17.17 kB / 0.494 GB, free: 15.85 MB / 443.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/1.503, allocations: 67.81 kB / 0.4941 GB, free: 15.85 MB / 443.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/1.504, allocations: 354.8 kB / 0.4944 GB, free: 15.59 MB / 443.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/1.504, allocations: 25.81 kB / 0.4944 GB, free: 15.59 MB / 443.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/1.504, allocations: 29.28 kB / 0.4945 GB, free: 15.59 MB / 443.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/1.504, allocations: 348.8 kB / 0.4948 GB, free: 15.49 MB / 443.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.504, allocations: 0 / 0.4948 GB, free: 15.49 MB / 443.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/1.504, allocations: 10.44 kB / 0.4948 GB, free: 15.49 MB / 443.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/1.504, allocations: 15.45 kB / 0.4948 GB, free: 15.49 MB / 443.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/1.504, allocations: 198.6 kB / 0.495 GB, free: 15.49 MB / 443.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/1.505, allocations: 1.135 MB / 0.4961 GB, free: 14.88 MB / 443.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/1.506, allocations: 246.7 kB / 0.4964 GB, free: 14.85 MB / 443.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/1.506, allocations: 91.2 kB / 0.4964 GB, free: 14.84 MB / 443.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03091/1.537, allocations: 20.35 MB / 0.5163 GB, free: 9.836 MB / 443.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/1.537, allocations: 33.62 kB / 0.5163 GB, free: 9.797 MB / 443.2 MB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/1.537, allocations: 0 / 0.5163 GB, free: 9.797 MB / 443.2 MB Notification: Performance of matching and sorting (n=34): time 0.001006/1.538, allocations: 0.5367 MB / 0.5169 GB, free: 9.297 MB / 443.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/1.538, allocations: 59.34 kB / 0.5169 GB, free: 9.227 MB / 443.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/1.538, allocations: 0.5883 MB / 0.5175 GB, free: 8.75 MB / 443.2 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/1.538, allocations: 29.39 kB / 0.5175 GB, free: 8.719 MB / 443.2 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/1.538, allocations: 265.7 kB / 0.5178 GB, free: 8.5 MB / 443.2 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/1.538, allocations: 120.5 kB / 0.5179 GB, free: 8.398 MB / 443.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/1.538, allocations: 71.05 kB / 0.518 GB, free: 8.348 MB / 443.2 MB Notification: Performance of setup shared object (initialization): time 3.306e-05/1.538, allocations: 323.5 kB / 0.5183 GB, free: 8.031 MB / 443.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/1.538, allocations: 79.44 kB / 0.5184 GB, free: 7.957 MB / 443.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/1.538, allocations: 135 kB / 0.5185 GB, free: 7.828 MB / 443.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/1.538, allocations: 230 kB / 0.5187 GB, free: 7.609 MB / 443.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.538, allocations: 0 / 0.5187 GB, free: 7.609 MB / 443.2 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000267/1.539, allocations: 343.5 kB / 0.519 GB, free: 7.301 MB / 443.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.539, allocations: 7.938 kB / 0.519 GB, free: 7.293 MB / 443.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.539, allocations: 4 kB / 0.519 GB, free: 7.289 MB / 443.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/1.54, allocations: 0.5924 MB / 0.5196 GB, free: 6.715 MB / 443.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/1.54, allocations: 51.55 kB / 0.5197 GB, free: 6.672 MB / 443.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002884/1.541, allocations: 0.645 MB / 0.5203 GB, free: 6.031 MB / 443.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/1.541, allocations: 35.67 kB / 0.5203 GB, free: 6 MB / 443.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/1.541, allocations: 15.86 kB / 0.5203 GB, free: 5.988 MB / 443.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourceP.C.b,sinkP.C.a) * 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 {(4,10)} Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/1.541, allocations: 139.4 kB / 0.5205 GB, free: 5.852 MB / 443.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/1.541, allocations: 43.89 kB / 0.5205 GB, free: 5.812 MB / 443.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/1.541, allocations: 490.8 kB / 0.521 GB, free: 5.391 MB / 443.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001877/1.541, allocations: 284.3 kB / 0.5213 GB, free: 5.125 MB / 443.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/1.542, allocations: 0 / 0.5213 GB, free: 5.125 MB / 443.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.542, allocations: 4 kB / 0.5213 GB, free: 5.121 MB / 443.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/1.542, allocations: 0.8663 MB / 0.5221 GB, free: 4.352 MB / 443.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.542, allocations: 0 / 0.5221 GB, free: 4.352 MB / 443.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/1.542, allocations: 47.78 kB / 0.5222 GB, free: 4.312 MB / 443.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006565/1.543, allocations: 331.1 kB / 0.5225 GB, free: 4 MB / 443.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.543, allocations: 3.875 kB / 0.5225 GB, free: 4 MB / 443.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000253/1.543, allocations: 0.6878 MB / 0.5231 GB, free: 3.324 MB / 443.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.543, allocations: 0 / 0.5231 GB, free: 3.324 MB / 443.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/1.543, allocations: 499.4 kB / 0.5236 GB, free: 2.859 MB / 443.2 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/1.543, allocations: 83.3 kB / 0.5237 GB, free: 2.781 MB / 443.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/1.544, allocations: 7.875 kB / 0.5237 GB, free: 2.777 MB / 443.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/1.544, allocations: 11.73 kB / 0.5237 GB, free: 2.77 MB / 443.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/1.544, allocations: 23.45 kB / 0.5237 GB, free: 2.75 MB / 443.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.544, allocations: 7.75 kB / 0.5237 GB, free: 2.746 MB / 443.2 MB Notification: Performance of sorting global known variables: time 0.000137/1.544, allocations: 294.8 kB / 0.524 GB, free: 2.508 MB / 443.2 MB Notification: Performance of sort global known variables: time 5e-08/1.544, allocations: 0 / 0.524 GB, free: 2.508 MB / 443.2 MB Notification: Performance of remove unused functions: time 0.002653/1.546, allocations: 1.169 MB / 0.5252 GB, free: 1.418 MB / 443.2 MB 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 (24): * Single equations (assignments): 23 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002612/1.549, allocations: 1.899 MB / 0.527 GB, free: 15.77 MB / 459.2 MB Notification: Performance of simCode: created initialization part: time 0.0004201/1.549, allocations: 345.1 kB / 0.5274 GB, free: 15.46 MB / 459.2 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.55, allocations: 8 kB / 0.5274 GB, free: 15.45 MB / 459.2 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/1.55, allocations: 191 kB / 0.5275 GB, free: 15.29 MB / 459.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1.55, allocations: 96.12 kB / 0.5276 GB, free: 15.23 MB / 459.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.551, allocations: 1.274 MB / 0.5289 GB, free: 14.02 MB / 459.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/1.552, allocations: 187.6 kB / 0.5291 GB, free: 13.82 MB / 459.2 MB Notification: Performance of simCode: alias equations: time 9.091e-05/1.552, allocations: 33.42 kB / 0.5291 GB, free: 13.79 MB / 459.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.552, allocations: 102.7 kB / 0.5292 GB, free: 13.7 MB / 459.2 MB Notification: Performance of SimCode: time 4.51e-07/1.552, allocations: 0 / 0.5292 GB, free: 13.7 MB / 459.2 MB Notification: Performance of Templates: time 0.04179/1.594, allocations: 47.03 MB / 0.5751 GB, free: 15 MB / 0.4953 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0363085637800395]