Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8173/0.8173, allocations: 150.9 MB / 167.1 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 15.98 kB / 205.9 MB, free: 9.035 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 31.33 MB / 237.3 MB, free: 5.734 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.565/1.706, allocations: 294.7 MB / 0.5195 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1968/1.903, allocations: 187.4 MB / 0.7025 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/1.904, allocations: 11.94 kB / 0.7025 GB, free: 0.9414 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001341/1.904, allocations: 43.47 kB / 0.7026 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/1.904, allocations: 122.9 kB / 0.7027 GB, free: 0.7773 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.3196/2.224, allocations: 11.32 MB / 0.7137 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/2.224, allocations: 434.2 kB / 0.7141 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/2.224, allocations: 221.3 kB / 0.7144 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/2.224, allocations: 167.9 kB / 0.7145 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/2.225, allocations: 189.3 kB / 0.7147 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/2.225, allocations: 37.47 kB / 0.7147 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03448/2.259, allocations: 19.79 MB / 0.7341 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/2.259, allocations: 79.8 kB / 0.7341 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/2.26, allocations: 209.3 kB / 0.7343 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02125/2.281, allocations: 9.715 MB / 0.7438 GB, free: 140 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/2.281, allocations: 0 / 0.7438 GB, free: 140 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/2.281, allocations: 1.203 kB / 0.7438 GB, free: 140 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.716e-06/2.281, allocations: 3.875 kB / 0.7438 GB, free: 140 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00541/2.286, allocations: 1.773 MB / 0.7456 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/2.286, allocations: 10.09 kB / 0.7456 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/2.287, allocations: 48.78 kB / 0.7456 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/2.287, allocations: 315.2 kB / 0.7459 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/2.287, allocations: 29.28 kB / 0.7459 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/2.287, allocations: 34.53 kB / 0.746 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/2.288, allocations: 389 kB / 0.7463 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/2.288, allocations: 0.7812 kB / 0.7463 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/2.288, allocations: 17.06 kB / 0.7464 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/2.288, allocations: 11.69 kB / 0.7464 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/2.289, allocations: 252.7 kB / 0.7466 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/2.299, allocations: 6.151 MB / 0.7526 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/2.3, allocations: 306.6 kB / 0.7529 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/2.301, allocations: 63.05 kB / 0.753 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1612/2.462, allocations: 82.5 MB / 0.8335 GB, free: 6.102 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/2.462, allocations: 39.03 kB / 0.8336 GB, free: 6.059 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/2.462, allocations: 0 / 0.8336 GB, free: 6.059 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005157/2.467, allocations: 0.9027 MB / 0.8345 GB, free: 5.199 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/2.467, allocations: 55.16 kB / 0.8345 GB, free: 5.137 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/2.468, allocations: 311.6 kB / 0.8348 GB, free: 4.883 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/2.468, allocations: 29.7 kB / 0.8348 GB, free: 4.848 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/2.468, allocations: 236.5 kB / 0.8351 GB, free: 4.652 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/2.468, allocations: 49.11 kB / 0.8351 GB, free: 4.613 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/2.468, allocations: 63.66 kB / 0.8352 GB, free: 4.566 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001298/2.468, allocations: 341.4 kB / 0.8355 GB, free: 4.234 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/2.468, allocations: 64.95 kB / 0.8356 GB, free: 4.191 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/2.469, allocations: 160.8 kB / 0.8357 GB, free: 4.016 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/2.469, allocations: 247.5 kB / 0.836 GB, free: 3.797 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.469, allocations: 3.094 kB / 0.836 GB, free: 3.797 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002391/2.471, allocations: 0.5629 MB / 0.8365 GB, free: 3.332 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/2.471, allocations: 8.031 kB / 0.8365 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/2.471, allocations: 4 kB / 0.8365 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007899/2.472, allocations: 157.5 kB / 0.8367 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/2.472, allocations: 44.28 kB / 0.8367 GB, free: 3.148 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007973/2.473, allocations: 0.6858 MB / 0.8374 GB, free: 2.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/2.474, allocations: 43.19 kB / 0.8374 GB, free: 2.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/2.474, allocations: 19.38 kB / 0.8374 GB, free: 2.449 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001828/2.474, allocations: 153 kB / 0.8376 GB, free: 2.312 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/2.474, allocations: 23.72 kB / 0.8376 GB, free: 2.289 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/2.476, allocations: 476.2 kB / 0.8381 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/2.476, allocations: 7.984 kB / 0.8381 GB, free: 1.863 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/2.476, allocations: 3.188 kB / 0.8381 GB, free: 1.863 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/2.476, allocations: 0 / 0.8381 GB, free: 1.863 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/2.477, allocations: 343.4 kB / 0.8384 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/2.477, allocations: 0 / 0.8384 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/2.477, allocations: 9.094 kB / 0.8384 GB, free: 1.535 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006523/2.477, allocations: 149.6 kB / 0.8385 GB, free: 1.406 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/2.477, allocations: 4 kB / 0.8386 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007142/2.478, allocations: 0.6897 MB / 0.8392 GB, free: 0.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/2.478, allocations: 3.094 kB / 0.8392 GB, free: 0.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/2.48, allocations: 467.3 kB / 0.8397 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/2.48, allocations: 119.7 kB / 0.8398 GB, free: 208 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/2.48, allocations: 4 kB / 0.8398 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/2.48, allocations: 7.438 kB / 0.8398 GB, free: 200 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/2.48, allocations: 7.984 kB / 0.8398 GB, free: 192 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/2.48, allocations: 0 / 0.8398 GB, free: 192 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002385/2.481, allocations: 229 kB / 0.84 GB, free: 8 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/2.481, allocations: 1.094 kB / 0.84 GB, free: 8 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.005123/2.486, allocations: 1.425 MB / 0.8414 GB, free: 14.68 MB / 0.6856 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 (3): * Single equations (assignments): 2 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008424/2.494, allocations: 2.176 MB / 0.8435 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007293/2.495, allocations: 204.2 kB / 0.8437 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/2.495, allocations: 0 / 0.8437 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/2.495, allocations: 85.62 kB / 0.8438 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/2.496, allocations: 73.52 kB / 0.8439 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/2.497, allocations: 0.5346 MB / 0.8444 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/2.497, allocations: 0.7832 MB / 0.8452 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001484/2.497, allocations: 32.17 kB / 0.8452 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/2.498, allocations: 23.38 kB / 0.8452 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/2.498, allocations: 4 kB / 0.8452 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of Templates: time 0.06298/2.561, allocations: 46.08 MB / 0.8902 GB, free: 13.18 MB / 0.7325 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)