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.791/0.791, 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.743e-06/1.743e-06, allocations: 0 / 175.7 MB, free: 9.465 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.56e-05, allocations: 5.703 kB / 175.7 MB, free: 9.461 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.648/1.648, allocations: 254.6 MB / 430.4 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04485/1.693, allocations: 27.78 MB / 458.1 MB, free: 4.645 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/1.693, allocations: 4 kB / 458.1 MB, free: 4.641 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.0004148/1.693, allocations: 95.34 kB / 458.2 MB, free: 4.547 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/1.693, allocations: 121.1 kB / 458.4 MB, free: 4.43 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.02403/1.717, allocations: 8.661 MB / 467 MB, free: 11.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007186/1.718, allocations: 466.1 kB / 467.5 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/1.719, allocations: 172.8 kB / 467.6 MB, free: 11.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/1.719, allocations: 283.2 kB / 467.9 MB, free: 10.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/1.719, allocations: 139.6 kB / 468.1 MB, free: 10.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/1.719, allocations: 28 kB / 468.1 MB, free: 10.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02961/1.749, allocations: 14.31 MB / 482.4 MB, free: 12.33 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/1.749, allocations: 195.3 kB / 482.6 MB, free: 12.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/1.75, allocations: 151.4 kB / 482.7 MB, free: 11.99 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02083/1.77, allocations: 10.05 MB / 492.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.77, allocations: 0 / 492.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.77, allocations: 0 / 492.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/1.77, allocations: 0 / 492.8 MB, free: 1.91 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.005498/1.776, allocations: 1.838 MB / 494.6 MB, free: 32 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.776, allocations: 11.98 kB / 494.6 MB, free: 20 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1384/1.914, allocations: 121.1 kB / 494.8 MB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/1.915, allocations: 370.2 kB / 495.1 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/1.915, allocations: 24.09 kB / 495.1 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/1.915, allocations: 27.97 kB / 495.2 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008792/1.916, allocations: 491 kB / 495.6 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.916, allocations: 0 / 495.6 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/1.916, allocations: 11.62 kB / 495.7 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/1.916, allocations: 6.594 kB / 495.7 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/1.917, allocations: 0.4911 MB / 496.2 MB, free: 109 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/1.918, allocations: 1.475 MB / 497.6 MB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/1.919, allocations: 0.5 MB / 498.1 MB, free: 108 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/1.92, allocations: 203.2 kB / 498.3 MB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06712/1.987, allocations: 22.63 MB / 0.5088 GB, free: 87.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/1.987, allocations: 39.66 kB / 0.5088 GB, free: 87.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/1.987, allocations: 0 / 0.5088 GB, free: 87.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.002915/1.99, allocations: 0.9812 MB / 0.5097 GB, free: 86.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/1.99, allocations: 55.41 kB / 0.5098 GB, free: 86.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/1.99, allocations: 0.7691 MB / 0.5106 GB, free: 85.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/1.99, allocations: 29.7 kB / 0.5106 GB, free: 85.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/1.991, allocations: 373 kB / 0.5109 GB, free: 85.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/1.991, allocations: 125.6 kB / 0.5111 GB, free: 85.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/1.991, allocations: 70.02 kB / 0.5111 GB, free: 85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.76e-05/1.991, allocations: 318 kB / 0.5114 GB, free: 84.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/1.991, allocations: 213.2 kB / 0.5116 GB, free: 84.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/1.991, allocations: 276.6 kB / 0.5119 GB, free: 84.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/1.992, allocations: 472.8 kB / 0.5123 GB, free: 83.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.992, allocations: 0 / 0.5123 GB, free: 83.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00107/1.993, allocations: 0.6936 MB / 0.513 GB, free: 83.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.993, allocations: 8.812 kB / 0.513 GB, free: 83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.993, allocations: 4 kB / 0.513 GB, free: 83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00405/1.997, allocations: 0.6409 MB / 0.5137 GB, free: 82.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/1.998, allocations: 55.89 kB / 0.5137 GB, free: 82.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007398/1.998, allocations: 0.7798 MB / 0.5145 GB, free: 81.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/1.999, allocations: 49.62 kB / 0.5145 GB, free: 81.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/1.999, allocations: 19.98 kB / 0.5145 GB, free: 81.43 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.0002094/1.999, allocations: 245.7 kB / 0.5148 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/1.999, allocations: 87.44 kB / 0.5149 GB, free: 81.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/2, allocations: 0.7947 MB / 0.5156 GB, free: 80.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009072/2.001, allocations: 0.5894 MB / 0.5162 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/2.001, allocations: 0.625 kB / 0.5162 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/2.001, allocations: 0 / 0.5162 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/2.003, allocations: 1.329 MB / 0.5175 GB, free: 78.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.003, allocations: 0 / 0.5175 GB, free: 78.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/2.003, allocations: 56.53 kB / 0.5176 GB, free: 78.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/2.005, allocations: 390.7 kB / 0.5179 GB, free: 77.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/2.005, allocations: 8 kB / 0.5179 GB, free: 77.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006724/2.006, allocations: 0.8148 MB / 0.5187 GB, free: 77.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/2.006, allocations: 4.562 kB / 0.5187 GB, free: 77.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/2.007, allocations: 0.7604 MB / 0.5195 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/2.007, allocations: 106.6 kB / 0.5196 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/2.007, allocations: 11.94 kB / 0.5196 GB, free: 76.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/2.007, allocations: 26.05 kB / 0.5196 GB, free: 76.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/2.007, allocations: 25.36 kB / 0.5196 GB, free: 76.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/2.007, allocations: 8.562 kB / 0.5197 GB, free: 76.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004509/2.008, allocations: 0.538 MB / 0.5202 GB, free: 75.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/2.008, allocations: 3.938 kB / 0.5202 GB, free: 75.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002395/2.01, allocations: 1.176 MB / 0.5213 GB, free: 74.5 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.003857/2.014, allocations: 1.773 MB / 0.5231 GB, free: 72.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/2.015, allocations: 0.5718 MB / 0.5236 GB, free: 72.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/2.015, allocations: 4 kB / 0.5236 GB, free: 72.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006065/2.016, allocations: 301.5 kB / 0.5239 GB, free: 72.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/2.017, allocations: 88.77 kB / 0.524 GB, free: 72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/2.018, allocations: 1.456 MB / 0.5254 GB, free: 70.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/2.019, allocations: 385.4 kB / 0.5258 GB, free: 70.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00016/2.019, allocations: 30.94 kB / 0.5258 GB, free: 70.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/2.019, allocations: 32.48 kB / 0.5258 GB, free: 70.05 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/2.019, allocations: 4 kB / 0.5259 GB, free: 70.05 MB / 442.7 MB Notification: Performance of Templates: time 0.04234/2.061, allocations: 40.77 MB / 0.5657 GB, free: 29.42 MB / 442.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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.034445941098966]