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.5231/0.5231, allocations: 111.6 MB / 131.2 MB, free: 4.609 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.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.655e-06/2.655e-06, allocations: 0 / 176.2 MB, free: 9.168 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.393e-05, allocations: 2.312 kB / 176.2 MB, free: 9.164 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.TestCentrifugalPump9): time 1.082/1.082, allocations: 257.1 MB / 433.3 MB, free: 372 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02653/1.109, allocations: 29.97 MB / 463.3 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/1.109, allocations: 8 kB / 463.3 MB, free: 2.266 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/SourceMechanicalPower.mo:5:3-6: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.0003541/1.11, allocations: 103.3 kB / 463.4 MB, free: 2.164 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/1.11, allocations: 121.1 kB / 463.5 MB, free: 2.043 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.01638/1.126, allocations: 8.677 MB / 472.2 MB, free: 9.336 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004923/1.127, allocations: 438.2 kB / 472.6 MB, free: 8.906 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/1.127, allocations: 164.9 kB / 472.8 MB, free: 8.742 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/1.127, allocations: 259.3 kB / 473 MB, free: 8.488 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/1.127, allocations: 135.6 kB / 473.2 MB, free: 8.355 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/1.127, allocations: 28 kB / 473.2 MB, free: 8.328 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1966/1.324, allocations: 14.28 MB / 487.5 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/1.324, allocations: 185.7 kB / 487.6 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/1.324, allocations: 149.7 kB / 487.8 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01661/1.341, allocations: 9.872 MB / 497.7 MB, free: 10.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.341, allocations: 0 / 497.7 MB, free: 10.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/1.341, allocations: 0 / 497.7 MB, free: 10.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/1.341, allocations: 1.375 kB / 497.7 MB, free: 10.1 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004244/1.345, allocations: 1.907 MB / 499.6 MB, free: 8.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.345, allocations: 13.86 kB / 499.6 MB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/1.345, allocations: 116.4 kB / 499.7 MB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/1.346, allocations: 370.3 kB / 0.4883 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/1.346, allocations: 22.94 kB / 0.4884 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/1.346, allocations: 31.72 kB / 0.4884 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/1.346, allocations: 0.5057 MB / 0.4889 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/1.346, allocations: 0 / 0.4889 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/1.346, allocations: 17.19 kB / 0.4889 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.346, allocations: 9.328 kB / 0.4889 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/1.347, allocations: 453 kB / 0.4893 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/1.348, allocations: 2.443 MB / 0.4917 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/1.349, allocations: 0.6448 MB / 0.4924 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/1.349, allocations: 214.6 kB / 0.4926 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0386/1.387, allocations: 22.69 MB / 0.5147 GB, free: 5.922 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.387, allocations: 44.81 kB / 0.5148 GB, free: 5.871 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 3.567e-06/1.387, allocations: 4.984 kB / 0.5148 GB, free: 5.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.002667/1.39, allocations: 1.494 MB / 0.5162 GB, free: 4.375 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/1.39, allocations: 56.34 kB / 0.5163 GB, free: 4.309 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/1.391, allocations: 0.69 MB / 0.517 GB, free: 3.605 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/1.391, allocations: 29.7 kB / 0.517 GB, free: 3.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/1.391, allocations: 411.6 kB / 0.5174 GB, free: 3.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/1.391, allocations: 126.2 kB / 0.5175 GB, free: 3.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/1.391, allocations: 75.3 kB / 0.5176 GB, free: 2.957 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/1.391, allocations: 0.4887 MB / 0.518 GB, free: 2.461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/1.391, allocations: 199.8 kB / 0.5182 GB, free: 2.266 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/1.392, allocations: 254.6 kB / 0.5185 GB, free: 1.992 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/1.392, allocations: 472.6 kB / 0.5189 GB, free: 1.512 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.392, allocations: 7.938 kB / 0.5189 GB, free: 1.504 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006779/1.393, allocations: 0.7839 MB / 0.5197 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.393, allocations: 4 kB / 0.5197 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.393, allocations: 4.625 kB / 0.5197 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/1.395, allocations: 0.9295 MB / 0.5206 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/1.395, allocations: 15.08 kB / 0.5206 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/1.396, allocations: 1.89 MB / 0.5225 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/1.397, allocations: 32.84 kB / 0.5225 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/1.397, allocations: 17.81 kB / 0.5225 GB, free: 13.8 MB / 458.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 (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.0001261/1.397, allocations: 168.2 kB / 0.5227 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/1.397, allocations: 87.48 kB / 0.5228 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/1.398, allocations: 0.8898 MB / 0.5236 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006662/1.398, allocations: 0.7567 MB / 0.5244 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.398, allocations: 0 / 0.5244 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.398, allocations: 3.984 kB / 0.5244 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/1.4, allocations: 1.81 MB / 0.5261 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.4, allocations: 0 / 0.5261 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/1.4, allocations: 23.75 kB / 0.5262 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/1.401, allocations: 0.6564 MB / 0.5268 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/1.401, allocations: 7.984 kB / 0.5268 GB, free: 9.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/1.403, allocations: 1.895 MB / 0.5287 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.403, allocations: 1.031 kB / 0.5287 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/1.403, allocations: 1.016 MB / 0.5297 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/1.403, allocations: 99.33 kB / 0.5298 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/1.403, allocations: 8.938 kB / 0.5298 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/1.404, allocations: 15.94 kB / 0.5298 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/1.404, allocations: 19.95 kB / 0.5298 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/1.404, allocations: 23.02 kB / 0.5298 GB, free: 6.242 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002941/1.404, allocations: 419 kB / 0.5302 GB, free: 5.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.404, allocations: 0 / 0.5302 GB, free: 5.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00262/1.407, allocations: 1.161 MB / 0.5314 GB, free: 4.676 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 (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.003517/1.41, allocations: 1.766 MB / 0.5331 GB, free: 3.129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007595/1.411, allocations: 0.5976 MB / 0.5337 GB, free: 2.527 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/1.411, allocations: 4.062 kB / 0.5337 GB, free: 2.523 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/1.411, allocations: 356 kB / 0.534 GB, free: 2.176 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/1.412, allocations: 92.83 kB / 0.5341 GB, free: 2.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/1.414, allocations: 1.37 MB / 0.5354 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/1.414, allocations: 200.3 kB / 0.5356 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.829e-05/1.414, allocations: 15.52 kB / 0.5356 GB, free: 488 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/1.414, allocations: 16.5 kB / 0.5357 GB, free: 472 kB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/1.414, allocations: 0 / 0.5357 GB, free: 472 kB / 458.7 MB Notification: Performance of Templates: time 0.0415/1.456, allocations: 41.42 MB / 0.5761 GB, free: 7.266 MB / 0.4948 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.069698655046523]