Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.8146/0.8146, allocations: 111.6 MB / 131 MB, free: 5.098 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.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.928e-05, allocations: 2.312 kB / 175.7 MB, free: 9.445 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.TestCentrifugalPump8): time 1.713/1.713, allocations: 254.8 MB / 430.6 MB, free: 376 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04434/1.758, allocations: 29.86 MB / 460.4 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/1.758, allocations: 0 / 460.4 MB, free: 2.398 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/SourceAngularVelocity.mo:6:3-7: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.0004161/1.758, allocations: 115.2 kB / 460.5 MB, free: 2.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/1.758, allocations: 117.1 kB / 460.7 MB, free: 2.172 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.02328/1.782, allocations: 8.689 MB / 469.3 MB, free: 9.445 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007246/1.782, allocations: 458.1 kB / 469.8 MB, free: 8.996 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/1.783, allocations: 173.7 kB / 470 MB, free: 8.824 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/1.783, allocations: 287.2 kB / 470.2 MB, free: 8.543 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/1.783, allocations: 131.6 kB / 470.4 MB, free: 8.414 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/1.783, allocations: 32 kB / 470.4 MB, free: 8.383 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02773/1.811, allocations: 14.29 MB / 484.7 MB, free: 10.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/1.811, allocations: 199.3 kB / 484.9 MB, free: 9.879 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002522/1.812, allocations: 147.4 kB / 485 MB, free: 9.734 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2028/2.015, allocations: 10.04 MB / 495.1 MB, free: 23.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/2.015, allocations: 0 / 495.1 MB, free: 23.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.015, allocations: 0 / 495.1 MB, free: 23.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.038e-05/2.015, allocations: 0 / 495.1 MB, free: 23.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004407/2.019, allocations: 1.962 MB / 497 MB, free: 22.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/2.019, allocations: 14.7 kB / 497 MB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/2.019, allocations: 119.3 kB / 497.2 MB, free: 22.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/2.02, allocations: 380.5 kB / 497.5 MB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/2.02, allocations: 24.66 kB / 497.6 MB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/2.02, allocations: 30.88 kB / 497.6 MB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008626/2.021, allocations: 0.5688 MB / 498.2 MB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/2.021, allocations: 4.125 kB / 498.2 MB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/2.021, allocations: 15.56 kB / 498.2 MB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/2.021, allocations: 11.88 kB / 498.2 MB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009287/2.022, allocations: 0.5456 MB / 498.7 MB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/2.024, allocations: 2.591 MB / 0.4896 GB, free: 20.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/2.025, allocations: 0.7372 MB / 0.4903 GB, free: 19.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/2.025, allocations: 262.1 kB / 0.4905 GB, free: 19.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0758/2.101, allocations: 22.69 MB / 0.5127 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/2.101, allocations: 37.33 kB / 0.5127 GB, free: 15.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.364e-06/2.101, allocations: 0 / 0.5127 GB, free: 15.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.003712/2.105, allocations: 1.354 MB / 0.5141 GB, free: 14.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/2.105, allocations: 55.41 kB / 0.5141 GB, free: 14.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/2.106, allocations: 0.7907 MB / 0.5149 GB, free: 13.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/2.106, allocations: 36.98 kB / 0.5149 GB, free: 13.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/2.106, allocations: 453.2 kB / 0.5154 GB, free: 13.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/2.106, allocations: 135.8 kB / 0.5155 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/2.106, allocations: 81.56 kB / 0.5156 GB, free: 13.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/2.106, allocations: 0.4951 MB / 0.516 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/2.107, allocations: 232.9 kB / 0.5163 GB, free: 12.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/2.107, allocations: 319 kB / 0.5166 GB, free: 12.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/2.108, allocations: 0.5521 MB / 0.5171 GB, free: 12.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/2.108, allocations: 0 / 0.5171 GB, free: 12.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001185/2.109, allocations: 0.8464 MB / 0.5179 GB, free: 11.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/2.109, allocations: 4 kB / 0.5179 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/2.109, allocations: 4 kB / 0.5179 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/2.113, allocations: 0.785 MB / 0.5187 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/2.113, allocations: 35.08 kB / 0.5187 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/2.114, allocations: 1.538 MB / 0.5202 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/2.115, allocations: 32.61 kB / 0.5203 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/2.115, allocations: 13.92 kB / 0.5203 GB, free: 9.488 MB / 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 (sink.C.a,sourcePQ.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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.00019/2.115, allocations: 193.2 kB / 0.5205 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/2.115, allocations: 88.17 kB / 0.5206 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/2.116, allocations: 0.9079 MB / 0.5214 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001062/2.117, allocations: 0.7793 MB / 0.5222 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.117, allocations: 2.344 kB / 0.5222 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/2.117, allocations: 3.938 kB / 0.5222 GB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/2.12, allocations: 1.854 MB / 0.524 GB, free: 6.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/2.12, allocations: 0 / 0.524 GB, free: 6.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/2.12, allocations: 43.97 kB / 0.5241 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/2.122, allocations: 0.5157 MB / 0.5246 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/2.122, allocations: 13.31 kB / 0.5246 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/2.123, allocations: 1.519 MB / 0.5261 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/2.123, allocations: 0 / 0.5261 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/2.124, allocations: 1.036 MB / 0.5271 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/2.124, allocations: 99.91 kB / 0.5272 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/2.124, allocations: 8 kB / 0.5272 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/2.125, allocations: 15.98 kB / 0.5272 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/2.125, allocations: 25.05 kB / 0.5272 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/2.125, allocations: 12.88 kB / 0.5272 GB, free: 3.012 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003652/2.125, allocations: 470.9 kB / 0.5277 GB, free: 2.559 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/2.125, allocations: 0 / 0.5277 GB, free: 2.559 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002505/2.127, allocations: 1.165 MB / 0.5288 GB, free: 1.391 MB / 442.7 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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00493/2.132, allocations: 1.759 MB / 0.5305 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001563/2.134, allocations: 0.6756 MB / 0.5312 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.134, allocations: 0 / 0.5312 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008387/2.135, allocations: 398.8 kB / 0.5316 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/2.136, allocations: 95.41 kB / 0.5317 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/2.138, allocations: 1.451 MB / 0.5331 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/2.139, allocations: 380.9 kB / 0.5334 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/2.139, allocations: 21.58 kB / 0.5335 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/2.139, allocations: 20.5 kB / 0.5335 GB, free: 12.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/2.139, allocations: 4 kB / 0.5335 GB, free: 12.79 MB / 458.7 MB Notification: Performance of Templates: time 0.06821/2.207, allocations: 41.18 MB / 0.5737 GB, free: 3.82 MB / 490.7 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.058113466016948]