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.8169/0.8169, allocations: 111.6 MB / 131 MB, free: 5.09 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.483e-06/1.483e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.532e-05, allocations: 11.69 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.TestCentrifugalPump13): time 1.715/1.715, allocations: 254.8 MB / 430.5 MB, free: 444 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0448/1.759, allocations: 29.84 MB / 460.4 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/1.76, allocations: 0 / 460.4 MB, free: 2.477 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). Notification: Performance of NFTyping.typeComponents: time 0.0004233/1.76, allocations: 103.3 kB / 460.5 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/1.76, allocations: 121.1 kB / 460.6 MB, free: 2.258 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.02383/1.784, allocations: 8.673 MB / 469.3 MB, free: 9.547 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007024/1.785, allocations: 462.1 kB / 469.7 MB, free: 9.094 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/1.785, allocations: 172.8 kB / 469.9 MB, free: 8.922 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004612/1.786, allocations: 275.3 kB / 470.1 MB, free: 8.652 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/1.786, allocations: 139.6 kB / 470.3 MB, free: 8.516 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.659e-05/1.786, allocations: 32 kB / 470.3 MB, free: 8.484 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02808/1.814, allocations: 14.3 MB / 484.6 MB, free: 10.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000271/1.814, allocations: 199.3 kB / 484.8 MB, free: 9.965 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/1.815, allocations: 155.4 kB / 485 MB, free: 9.812 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.205/2.02, allocations: 10.05 MB / 495 MB, free: 23.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/2.02, allocations: 1.656 kB / 495 MB, free: 23.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/2.02, allocations: 0 / 495 MB, free: 23.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/2.02, allocations: 0 / 495 MB, free: 23.21 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004077/2.024, allocations: 1.981 MB / 497 MB, free: 22.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/2.024, allocations: 13.14 kB / 497 MB, free: 22.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/2.024, allocations: 119 kB / 497.1 MB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/2.024, allocations: 376.4 kB / 497.5 MB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/2.024, allocations: 20.59 kB / 497.5 MB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/2.024, allocations: 32.42 kB / 497.5 MB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/2.025, allocations: 474.6 kB / 498 MB, free: 21.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/2.025, allocations: 1.25 kB / 498 MB, free: 21.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/2.025, allocations: 12.59 kB / 498 MB, free: 21.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/2.025, allocations: 13.02 kB / 498 MB, free: 21.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/2.026, allocations: 435.9 kB / 498.5 MB, free: 21.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/2.028, allocations: 1.891 MB / 0.4886 GB, free: 20.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/2.029, allocations: 496.6 kB / 0.4891 GB, free: 20.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/2.029, allocations: 184 kB / 0.4893 GB, free: 20.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07323/2.102, allocations: 22.7 MB / 0.5114 GB, free: 16.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/2.102, allocations: 44.02 kB / 0.5115 GB, free: 16.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.434e-06/2.102, allocations: 0 / 0.5115 GB, free: 16.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.002749/2.105, allocations: 0.9269 MB / 0.5124 GB, free: 15.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/2.105, allocations: 55.41 kB / 0.5124 GB, free: 15.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/2.106, allocations: 0.8233 MB / 0.5132 GB, free: 15.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/2.106, allocations: 29.7 kB / 0.5133 GB, free: 15.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/2.106, allocations: 465.5 kB / 0.5137 GB, free: 15.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/2.106, allocations: 126.8 kB / 0.5138 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/2.106, allocations: 92.39 kB / 0.5139 GB, free: 14.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.857e-05/2.106, allocations: 0.495 MB / 0.5144 GB, free: 14.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/2.107, allocations: 186.9 kB / 0.5146 GB, free: 14.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/2.107, allocations: 263 kB / 0.5148 GB, free: 14.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/2.108, allocations: 450.7 kB / 0.5153 GB, free: 13.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/2.108, allocations: 4 kB / 0.5153 GB, free: 13.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009442/2.109, allocations: 0.6408 MB / 0.5159 GB, free: 13.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/2.109, allocations: 8 kB / 0.5159 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/2.109, allocations: 0 / 0.5159 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/2.113, allocations: 0.6489 MB / 0.5165 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/2.113, allocations: 51.11 kB / 0.5166 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007235/2.114, allocations: 1.058 MB / 0.5176 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/2.114, allocations: 47.06 kB / 0.5177 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/2.114, allocations: 11.81 kB / 0.5177 GB, free: 11.72 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 (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 (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 0.0001712/2.114, allocations: 193 kB / 0.5179 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/2.114, allocations: 86.81 kB / 0.5179 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/2.115, allocations: 0.6979 MB / 0.5186 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007624/2.116, allocations: 0.5261 MB / 0.5191 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/2.116, allocations: 3.281 kB / 0.5191 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/2.116, allocations: 3.938 kB / 0.5191 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/2.118, allocations: 1.437 MB / 0.5205 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.118, allocations: 4 kB / 0.5206 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/2.118, allocations: 45.91 kB / 0.5206 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/2.12, allocations: 379.4 kB / 0.521 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/2.12, allocations: 10.19 kB / 0.521 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006629/2.121, allocations: 1.044 MB / 0.522 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/2.121, allocations: 0 / 0.522 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/2.122, allocations: 0.7705 MB / 0.5227 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/2.122, allocations: 103.5 kB / 0.5228 GB, free: 7.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/2.122, allocations: 14.5 kB / 0.5228 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/2.122, allocations: 15.3 kB / 0.5229 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/2.122, allocations: 23.45 kB / 0.5229 GB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/2.122, allocations: 11.06 kB / 0.5229 GB, free: 7.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004239/2.123, allocations: 492.7 kB / 0.5234 GB, free: 6.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.123, allocations: 0 / 0.5234 GB, free: 6.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002613/2.125, allocations: 1.171 MB / 0.5245 GB, free: 5.863 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 (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.004748/2.13, allocations: 1.782 MB / 0.5263 GB, free: 4.355 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/2.131, allocations: 0.5373 MB / 0.5268 GB, free: 3.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/2.131, allocations: 320 / 0.5268 GB, free: 3.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/2.132, allocations: 308.5 kB / 0.5271 GB, free: 3.531 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/2.132, allocations: 93.05 kB / 0.5272 GB, free: 3.441 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/2.134, allocations: 1.33 MB / 0.5285 GB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/2.134, allocations: 373.4 kB / 0.5288 GB, free: 1.699 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/2.134, allocations: 37.7 kB / 0.5288 GB, free: 1.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/2.135, allocations: 24.5 kB / 0.5289 GB, free: 1.637 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/2.135, allocations: 0 / 0.5289 GB, free: 1.637 MB / 442.7 MB Notification: Performance of Templates: time 0.06807/2.203, allocations: 41.41 MB / 0.5693 GB, free: 8.43 MB / 490.7 MB " [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: 8.176525023998693]