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.487/0.487, allocations: 111.6 MB / 131.2 MB, free: 4.605 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.974e-06/1.974e-06, allocations: 0 / 176.2 MB, free: 9.176 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.952e-05, allocations: 2.312 kB / 176.2 MB, free: 9.172 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.039/1.039, allocations: 257.1 MB / 433.3 MB, free: 332 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02499/1.064, allocations: 29.97 MB / 463.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/1.064, allocations: 7.938 kB / 463.3 MB, free: 2.23 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.0003044/1.065, allocations: 115.3 kB / 463.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/1.065, allocations: 113.1 kB / 463.5 MB, free: 2.004 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.01342/1.078, allocations: 8.669 MB / 472.2 MB, free: 9.305 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/1.079, allocations: 466.1 kB / 472.7 MB, free: 8.848 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/1.079, allocations: 176.7 kB / 472.8 MB, free: 8.672 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/1.079, allocations: 279.2 kB / 473.1 MB, free: 8.398 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/1.079, allocations: 139.6 kB / 473.2 MB, free: 8.262 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/1.079, allocations: 32 kB / 473.3 MB, free: 8.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1889/1.268, allocations: 14.29 MB / 487.6 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/1.268, allocations: 191.4 kB / 487.7 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/1.268, allocations: 157.3 kB / 487.9 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/1.28, allocations: 9.901 MB / 497.8 MB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.28, allocations: 3.375 kB / 497.8 MB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.28, allocations: 0 / 497.8 MB, free: 10.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/1.28, allocations: 1.344 kB / 497.8 MB, free: 10.13 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002531/1.283, allocations: 1.94 MB / 499.7 MB, free: 8.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.283, allocations: 14.67 kB / 499.8 MB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.283, allocations: 119.1 kB / 499.9 MB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/1.283, allocations: 368.2 kB / 0.4885 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/1.283, allocations: 26.53 kB / 0.4885 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/1.283, allocations: 29.22 kB / 0.4886 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/1.284, allocations: 415.3 kB / 0.489 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.284, allocations: 1.25 kB / 0.489 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/1.284, allocations: 11.34 kB / 0.489 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/1.284, allocations: 13.62 kB / 0.489 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/1.284, allocations: 328.2 kB / 0.4893 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/1.285, allocations: 1.733 MB / 0.491 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/1.286, allocations: 390.3 kB / 0.4914 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/1.286, allocations: 147 kB / 0.4915 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03625/1.322, allocations: 22.69 MB / 0.5137 GB, free: 6.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.322, allocations: 42.14 kB / 0.5137 GB, free: 6.914 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.465e-06/1.322, allocations: 0 / 0.5137 GB, free: 6.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.001511/1.323, allocations: 0.7805 MB / 0.5145 GB, free: 6.129 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/1.323, allocations: 55.41 kB / 0.5145 GB, free: 6.062 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/1.324, allocations: 0.722 MB / 0.5152 GB, free: 5.324 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/1.324, allocations: 32.8 kB / 0.5152 GB, free: 5.289 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/1.324, allocations: 438.2 kB / 0.5157 GB, free: 4.859 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/1.324, allocations: 127.6 kB / 0.5158 GB, free: 4.734 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/1.324, allocations: 75.67 kB / 0.5159 GB, free: 4.652 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/1.325, allocations: 0.4904 MB / 0.5163 GB, free: 4.156 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/1.325, allocations: 136.8 kB / 0.5165 GB, free: 4.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/1.325, allocations: 201.7 kB / 0.5167 GB, free: 3.801 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/1.325, allocations: 348.1 kB / 0.517 GB, free: 3.441 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.325, allocations: 0 / 0.517 GB, free: 3.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005585/1.326, allocations: 0.5376 MB / 0.5175 GB, free: 2.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.326, allocations: 8 kB / 0.5175 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.326, allocations: 0 / 0.5175 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/1.328, allocations: 0.6175 MB / 0.5181 GB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/1.328, allocations: 47.06 kB / 0.5182 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000545/1.329, allocations: 0.9605 MB / 0.5191 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/1.329, allocations: 48.69 kB / 0.5192 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/1.329, allocations: 11.94 kB / 0.5192 GB, free: 1.191 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.000128/1.329, allocations: 183.5 kB / 0.5193 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/1.329, allocations: 87.44 kB / 0.5194 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/1.33, allocations: 0.5911 MB / 0.52 GB, free: 336 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004275/1.33, allocations: 433.3 kB / 0.5204 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.33, allocations: 0 / 0.5204 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.33, allocations: 0 / 0.5204 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/1.331, allocations: 1.219 MB / 0.5216 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.331, allocations: 0 / 0.5216 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.331, allocations: 47.97 kB / 0.5217 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009041/1.332, allocations: 352.1 kB / 0.522 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/1.332, allocations: 7.984 kB / 0.522 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004735/1.333, allocations: 0.9639 MB / 0.5229 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.333, allocations: 0 / 0.5229 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006286/1.333, allocations: 0.6732 MB / 0.5236 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/1.333, allocations: 103.3 kB / 0.5237 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/1.334, allocations: 8 kB / 0.5237 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/1.334, allocations: 20.8 kB / 0.5237 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/1.334, allocations: 27.95 kB / 0.5238 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.334, allocations: 8 kB / 0.5238 GB, free: 12.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002977/1.334, allocations: 454.9 kB / 0.5242 GB, free: 11.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.334, allocations: 0 / 0.5242 GB, free: 11.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002276/1.336, allocations: 1.169 MB / 0.5253 GB, free: 10.79 MB / 458.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.003118/1.339, allocations: 1.779 MB / 0.5271 GB, free: 9.234 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008102/1.34, allocations: 453.4 kB / 0.5275 GB, free: 8.785 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.34, allocations: 0 / 0.5275 GB, free: 8.785 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/1.34, allocations: 260.4 kB / 0.5278 GB, free: 8.539 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/1.341, allocations: 92.38 kB / 0.5278 GB, free: 8.453 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/1.343, allocations: 1.314 MB / 0.5291 GB, free: 7.125 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/1.343, allocations: 189.1 kB / 0.5293 GB, free: 6.918 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001002/1.343, allocations: 37.12 kB / 0.5293 GB, free: 6.887 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/1.343, allocations: 28.48 kB / 0.5294 GB, free: 6.855 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/1.343, allocations: 0 / 0.5294 GB, free: 6.855 MB / 458.7 MB Notification: Performance of Templates: time 0.03746/1.38, allocations: 41.45 MB / 0.5698 GB, free: 13.64 MB / 0.4948 GB " [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: 4.86990002496168]