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.8335/0.8335, allocations: 150.9 MB / 167.1 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 15.97 kB / 205.9 MB, free: 9.078 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 31.33 MB / 237.3 MB, free: 5.754 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.575/1.71, allocations: 294.7 MB / 0.5195 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1876/1.898, allocations: 187.4 MB / 0.7025 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/1.898, allocations: 7.938 kB / 0.7025 GB, free: 1.242 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.0001765/1.899, allocations: 43.53 kB / 0.7026 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004063/1.899, allocations: 122.9 kB / 0.7027 GB, free: 1.078 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.3073/2.206, allocations: 11.32 MB / 0.7137 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004791/2.207, allocations: 439 kB / 0.7141 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/2.207, allocations: 214.5 kB / 0.7144 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/2.207, allocations: 171.8 kB / 0.7145 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/2.207, allocations: 190 kB / 0.7147 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/2.207, allocations: 35.88 kB / 0.7147 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03035/2.238, allocations: 19.8 MB / 0.7341 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/2.238, allocations: 80.52 kB / 0.7341 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/2.238, allocations: 204.5 kB / 0.7343 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01939/2.258, allocations: 9.717 MB / 0.7438 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/2.258, allocations: 0 / 0.7438 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/2.258, allocations: 0.8125 kB / 0.7438 GB, free: 312 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.295e-06/2.258, allocations: 0 / 0.7438 GB, free: 312 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.0046/2.262, allocations: 1.787 MB / 0.7456 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/2.262, allocations: 7.938 kB / 0.7456 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/2.262, allocations: 52.64 kB / 0.7456 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/2.263, allocations: 309.6 kB / 0.7459 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/2.263, allocations: 28.69 kB / 0.746 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/2.263, allocations: 34.38 kB / 0.746 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/2.264, allocations: 387.8 kB / 0.7464 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/2.264, allocations: 2.625 kB / 0.7464 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/2.264, allocations: 20.22 kB / 0.7464 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/2.264, allocations: 8.406 kB / 0.7464 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/2.264, allocations: 264.6 kB / 0.7466 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008413/2.273, allocations: 6.138 MB / 0.7526 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/2.275, allocations: 312.2 kB / 0.7529 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/2.275, allocations: 60.28 kB / 0.753 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.155/2.43, allocations: 82.51 MB / 0.8336 GB, free: 6.355 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/2.43, allocations: 37.69 kB / 0.8336 GB, free: 6.312 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/2.43, allocations: 0 / 0.8336 GB, free: 6.312 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005293/2.435, allocations: 0.9083 MB / 0.8345 GB, free: 5.457 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/2.435, allocations: 55.41 kB / 0.8345 GB, free: 5.391 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/2.435, allocations: 316 kB / 0.8348 GB, free: 5.133 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/2.436, allocations: 26.91 kB / 0.8349 GB, free: 5.102 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/2.436, allocations: 233.2 kB / 0.8351 GB, free: 4.906 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/2.436, allocations: 49.47 kB / 0.8351 GB, free: 4.867 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/2.436, allocations: 58.7 kB / 0.8352 GB, free: 4.824 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001069/2.436, allocations: 341.4 kB / 0.8355 GB, free: 4.492 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/2.436, allocations: 72.95 kB / 0.8356 GB, free: 4.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/2.436, allocations: 159.9 kB / 0.8357 GB, free: 4.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/2.437, allocations: 246.1 kB / 0.836 GB, free: 4.055 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/2.437, allocations: 0 / 0.836 GB, free: 4.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002454/2.439, allocations: 0.5602 MB / 0.8365 GB, free: 3.586 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/2.439, allocations: 4 kB / 0.8365 GB, free: 3.582 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/2.439, allocations: 7.984 kB / 0.8365 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007826/2.44, allocations: 158 kB / 0.8367 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/2.44, allocations: 42.33 kB / 0.8367 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007158/2.441, allocations: 0.6875 MB / 0.8374 GB, free: 2.758 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/2.441, allocations: 42.88 kB / 0.8374 GB, free: 2.719 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/2.441, allocations: 15.56 kB / 0.8374 GB, free: 2.707 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.0001597/2.441, allocations: 154.5 kB / 0.8376 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/2.441, allocations: 27.72 kB / 0.8376 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/2.444, allocations: 476.2 kB / 0.8381 GB, free: 2.129 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/2.444, allocations: 8 kB / 0.8381 GB, free: 2.121 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/2.444, allocations: 0 / 0.8381 GB, free: 2.121 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/2.444, allocations: 0 / 0.8381 GB, free: 2.121 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/2.444, allocations: 344.3 kB / 0.8384 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.444, allocations: 0 / 0.8384 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.522e-05/2.444, allocations: 8 kB / 0.8384 GB, free: 1.793 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006833/2.445, allocations: 152.8 kB / 0.8386 GB, free: 1.664 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/2.445, allocations: 4 kB / 0.8386 GB, free: 1.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006865/2.446, allocations: 0.6874 MB / 0.8392 GB, free: 1.008 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.446, allocations: 0 / 0.8392 GB, free: 1.008 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/2.448, allocations: 462.9 kB / 0.8397 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/2.448, allocations: 119.7 kB / 0.8398 GB, free: 476 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/2.448, allocations: 5.203 kB / 0.8398 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/2.448, allocations: 11.73 kB / 0.8398 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/2.448, allocations: 7.984 kB / 0.8398 GB, free: 456 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/2.448, allocations: 0 / 0.8398 GB, free: 456 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002333/2.448, allocations: 231.9 kB / 0.84 GB, free: 272 kB / 0.67 GB Notification: Performance of sort global known variables: time 3.91e-07/2.448, allocations: 0 / 0.84 GB, free: 272 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.003852/2.452, allocations: 1.433 MB / 0.8414 GB, free: 14.93 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.007371/2.46, allocations: 2.182 MB / 0.8436 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006148/2.46, allocations: 192.2 kB / 0.8438 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/2.46, allocations: 0 / 0.8438 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/2.461, allocations: 80.84 kB / 0.8438 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/2.461, allocations: 74.66 kB / 0.8439 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/2.462, allocations: 0.5335 MB / 0.8444 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/2.462, allocations: 0.7793 MB / 0.8452 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001183/2.463, allocations: 38.89 kB / 0.8452 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/2.463, allocations: 27.31 kB / 0.8452 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of SimCode: time 3.41e-07/2.463, allocations: 4 kB / 0.8453 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of Templates: time 0.05971/2.522, allocations: 46.08 MB / 0.8903 GB, free: 13.43 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 gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)