Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.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.9128/0.9128, allocations: 120.4 MB / 139.5 MB, free: 484 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 1.719 kB / 217.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.763e-05, allocations: 7.625 kB / 217.2 MB, free: 13.71 MB / 206.1 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.TestCentrifugalPump9): time 1.537/1.537, allocations: 254.4 MB / 471.6 MB, free: 10.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2357/1.772, allocations: 27.72 MB / 499.3 MB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/1.773, allocations: 1.469 kB / 499.3 MB, free: 10.34 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119:42: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:120:3-122:37: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:126:3-130:23: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:29:3-30:52: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:17:3-19:16: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/SourceMechanicalPower.mo:5:3-9:24: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.0003973/1.773, allocations: 108.5 kB / 499.4 MB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/1.773, allocations: 124.2 kB / 499.5 MB, free: 10.18 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.02513/1.798, allocations: 8.654 MB / 0.4963 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006282/1.799, allocations: 433.5 kB / 0.4967 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/1.799, allocations: 158 kB / 0.4968 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/1.8, allocations: 263 kB / 0.4971 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/1.8, allocations: 131.3 kB / 0.4972 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/1.8, allocations: 30.59 kB / 0.4973 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02928/1.829, allocations: 14.3 MB / 0.5112 GB, free: 6.086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/1.83, allocations: 183.4 kB / 0.5114 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/1.83, allocations: 151.4 kB / 0.5115 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02021/1.85, allocations: 10.01 MB / 0.5213 GB, free: 11.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.85, allocations: 4 kB / 0.5213 GB, free: 11.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/1.85, allocations: 0 / 0.5213 GB, free: 11.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/1.85, allocations: 0.8438 kB / 0.5213 GB, free: 11.72 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004131/1.854, allocations: 1.798 MB / 0.5231 GB, free: 9.883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.854, allocations: 8.031 kB / 0.5231 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/1.854, allocations: 95.39 kB / 0.5232 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/1.855, allocations: 366.6 kB / 0.5235 GB, free: 9.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/1.855, allocations: 25.53 kB / 0.5235 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/1.855, allocations: 28 kB / 0.5236 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/1.856, allocations: 0.553 MB / 0.5241 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/1.856, allocations: 3.938 kB / 0.5241 GB, free: 8.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/1.856, allocations: 15.94 kB / 0.5241 GB, free: 8.734 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/1.856, allocations: 16.73 kB / 0.5241 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009639/1.857, allocations: 0.5777 MB / 0.5247 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/1.859, allocations: 1.934 MB / 0.5266 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/1.861, allocations: 0.7614 MB / 0.5273 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/1.861, allocations: 257.9 kB / 0.5276 GB, free: 5.121 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08248/1.943, allocations: 22.6 MB / 0.5497 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.943, allocations: 38.73 kB / 0.5497 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/1.943, allocations: 0 / 0.5497 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.005922/1.949, allocations: 1.736 MB / 0.5514 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.949, allocations: 59.81 kB / 0.5514 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/1.95, allocations: 0.7078 MB / 0.5521 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/1.95, allocations: 29.7 kB / 0.5522 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/1.951, allocations: 353.4 kB / 0.5525 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/1.951, allocations: 126.8 kB / 0.5526 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.951, allocations: 65.64 kB / 0.5527 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.951, allocations: 322 kB / 0.553 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/1.952, allocations: 250 kB / 0.5532 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/1.952, allocations: 297 kB / 0.5535 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008669/1.953, allocations: 0.5552 MB / 0.5541 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.953, allocations: 4.562 kB / 0.5541 GB, free: 10 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001523/1.954, allocations: 0.919 MB / 0.555 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.954, allocations: 4 kB / 0.555 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.954, allocations: 7.938 kB / 0.555 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/1.96, allocations: 1.007 MB / 0.556 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/1.96, allocations: 15.94 kB / 0.556 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.962, allocations: 1.78 MB / 0.5577 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/1.962, allocations: 35.83 kB / 0.5577 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/1.962, allocations: 8 kB / 0.5578 GB, free: 6.191 MB / 0.4981 GB 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 (11): * Single equations (assignments): 10 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003184/1.962, allocations: 249.6 kB / 0.558 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/1.962, allocations: 84.69 kB / 0.5581 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/1.964, allocations: 1.087 MB / 0.5591 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001526/1.966, allocations: 0.9112 MB / 0.56 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.966, allocations: 0 / 0.56 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.966, allocations: 8.688 kB / 0.56 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/1.969, allocations: 1.934 MB / 0.5619 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.969, allocations: 0.9375 kB / 0.5619 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/1.969, allocations: 21.59 kB / 0.5619 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/1.972, allocations: 0.7474 MB / 0.5627 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/1.972, allocations: 12 kB / 0.5627 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/1.974, allocations: 1.814 MB / 0.5645 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.974, allocations: 6.547 kB / 0.5645 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.976, allocations: 1.115 MB / 0.5655 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/1.976, allocations: 103.3 kB / 0.5656 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/1.976, allocations: 8 kB / 0.5657 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/1.976, allocations: 15.98 kB / 0.5657 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/1.976, allocations: 20.58 kB / 0.5657 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.977, allocations: 12 kB / 0.5657 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005925/1.977, allocations: 0.499 MB / 0.5662 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.977, allocations: 6.562 kB / 0.5662 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00284/1.98, allocations: 1.157 MB / 0.5673 GB, free: 12.27 MB / 0.5137 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 (15): * Single equations (assignments): 14 * 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,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005249/1.985, allocations: 1.782 MB / 0.5691 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00145/1.987, allocations: 0.6891 MB / 0.5697 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.987, allocations: 0 / 0.5697 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008364/1.987, allocations: 391.6 kB / 0.5701 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/1.988, allocations: 89.55 kB / 0.5702 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/1.991, allocations: 1.485 MB / 0.5716 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/1.991, allocations: 386.9 kB / 0.572 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.112e-05/1.991, allocations: 19.94 kB / 0.572 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/1.991, allocations: 20.5 kB / 0.5721 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of SimCode: time 4.2e-07/1.991, allocations: 0 / 0.5721 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of Templates: time 0.0626/2.054, allocations: 40.41 MB / 0.6115 GB, free: 15.17 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.977135822176933] Failed to read output from testmodel.py, exit status != 0: 2.206821471452713 2.22157428 0.36826972299999994 Calling exit ...