Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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.4874/0.4874, allocations: 111.6 MB / 131.2 MB, free: 5.066 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.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 176.2 MB, free: 9.191 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.578e-05, allocations: 5.125 kB / 176.2 MB, free: 9.188 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.TestCentrifugalPump12): time 1.026/1.026, allocations: 257.2 MB / 433.4 MB, free: 288 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02573/1.052, allocations: 29.98 MB / 463.4 MB, free: 2.184 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/1.052, allocations: 4 kB / 463.4 MB, free: 2.18 MB / 410.7 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-6:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003412/1.052, allocations: 111.3 kB / 463.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/1.052, allocations: 125.1 kB / 463.6 MB, free: 1.945 MB / 410.7 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.01558/1.068, allocations: 8.681 MB / 472.3 MB, free: 9.234 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004272/1.068, allocations: 474.1 kB / 472.7 MB, free: 8.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/1.069, allocations: 181.4 kB / 472.9 MB, free: 8.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/1.069, allocations: 287.2 kB / 473.2 MB, free: 8.309 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/1.069, allocations: 143.6 kB / 473.3 MB, free: 8.168 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/1.069, allocations: 36 kB / 473.4 MB, free: 8.133 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1844/1.254, allocations: 14.3 MB / 487.7 MB, free: 10.31 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/1.254, allocations: 198.3 kB / 487.9 MB, free: 10.31 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/1.254, allocations: 158.8 kB / 488 MB, free: 10.31 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/1.265, allocations: 9.907 MB / 497.9 MB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.265, allocations: 0 / 497.9 MB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/1.265, allocations: 3.219 kB / 497.9 MB, free: 10.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/1.265, allocations: 0 / 497.9 MB, free: 10.01 MB / 426.7 MB 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.002469/1.268, allocations: 1.955 MB / 499.9 MB, free: 8.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/1.268, allocations: 15.77 kB / 499.9 MB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.311e-05/1.268, allocations: 118.4 kB / 0.4883 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/1.268, allocations: 380.8 kB / 0.4887 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/1.268, allocations: 26.22 kB / 0.4887 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/1.268, allocations: 33.22 kB / 0.4887 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/1.269, allocations: 418.7 kB / 0.4891 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.269, allocations: 3.188 kB / 0.4891 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/1.269, allocations: 14.19 kB / 0.4891 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/1.269, allocations: 11.75 kB / 0.4891 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/1.269, allocations: 330.3 kB / 0.4895 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.27, allocations: 1.736 MB / 0.4911 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/1.271, allocations: 0.4909 MB / 0.4916 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/1.271, allocations: 152.7 kB / 0.4918 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03561/1.307, allocations: 22.69 MB / 0.5139 GB, free: 6.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/1.307, allocations: 41.39 kB / 0.514 GB, free: 6.629 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 3.036e-06/1.307, allocations: 8.453 kB / 0.514 GB, free: 6.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001415/1.308, allocations: 0.8096 MB / 0.5148 GB, free: 5.809 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/1.308, allocations: 55.41 kB / 0.5148 GB, free: 5.742 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/1.308, allocations: 0.7065 MB / 0.5155 GB, free: 5.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/1.309, allocations: 33.7 kB / 0.5155 GB, free: 4.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/1.309, allocations: 430.5 kB / 0.516 GB, free: 4.555 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/1.309, allocations: 137.9 kB / 0.5161 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/1.309, allocations: 79.67 kB / 0.5162 GB, free: 4.336 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/1.309, allocations: 496.4 kB / 0.5166 GB, free: 3.844 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/1.309, allocations: 136.8 kB / 0.5168 GB, free: 3.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/1.309, allocations: 213.5 kB / 0.517 GB, free: 3.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/1.31, allocations: 346.3 kB / 0.5173 GB, free: 3.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.31, allocations: 4 kB / 0.5173 GB, free: 3.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007575/1.31, allocations: 0.6344 MB / 0.5179 GB, free: 2.488 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.31, allocations: 4 kB / 0.5179 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.31, allocations: 4 kB / 0.5179 GB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/1.313, allocations: 0.8057 MB / 0.5187 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/1.313, allocations: 46.88 kB / 0.5188 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008436/1.314, allocations: 1.432 MB / 0.5202 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/1.314, allocations: 47.69 kB / 0.5202 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/1.314, allocations: 16.94 kB / 0.5202 GB, free: 108 kB / 442.7 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 (sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {(5,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.314, allocations: 179.5 kB / 0.5204 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/1.314, allocations: 95.38 kB / 0.5205 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000629/1.315, allocations: 0.5933 MB / 0.5211 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006608/1.315, allocations: 461.8 kB / 0.5215 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.315, allocations: 0 / 0.5215 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.315, allocations: 5.812 kB / 0.5215 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/1.316, allocations: 1.262 MB / 0.5227 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.316, allocations: 5.312 kB / 0.5227 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/1.317, allocations: 67.52 kB / 0.5228 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008873/1.318, allocations: 350.2 kB / 0.5231 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/1.318, allocations: 8 kB / 0.5232 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004704/1.318, allocations: 0.971 MB / 0.5241 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.318, allocations: 3.938 kB / 0.5241 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/1.319, allocations: 0.8939 MB / 0.525 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/1.319, allocations: 112.2 kB / 0.5251 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/1.319, allocations: 11.94 kB / 0.5251 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/1.319, allocations: 15.98 kB / 0.5251 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/1.319, allocations: 32.84 kB / 0.5251 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/1.319, allocations: 12 kB / 0.5252 GB, free: 10.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002786/1.319, allocations: 438.9 kB / 0.5256 GB, free: 10.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.319, allocations: 0 / 0.5256 GB, free: 10.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001824/1.321, allocations: 1.173 MB / 0.5267 GB, free: 9.359 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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.002892/1.324, allocations: 1.783 MB / 0.5285 GB, free: 7.801 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008579/1.325, allocations: 490.4 kB / 0.5289 GB, free: 7.328 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/1.325, allocations: 0 / 0.5289 GB, free: 7.328 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/1.325, allocations: 270.7 kB / 0.5292 GB, free: 7.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/1.326, allocations: 97.97 kB / 0.5293 GB, free: 6.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/1.327, allocations: 1.376 MB / 0.5306 GB, free: 5.586 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/1.327, allocations: 189.5 kB / 0.5308 GB, free: 5.375 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.637e-05/1.328, allocations: 29.52 kB / 0.5308 GB, free: 5.348 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/1.328, allocations: 35.58 kB / 0.5309 GB, free: 5.316 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/1.328, allocations: 0 / 0.5309 GB, free: 5.316 MB / 458.7 MB Notification: Performance of Templates: time 0.03992/1.368, allocations: 41.94 MB / 0.5718 GB, free: 11.61 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8657691571861506]