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.8494/0.8494, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 17.69 kB / 237.1 MB, free: 1.797 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05796/0.05834, allocations: 31.34 MB / 268.4 MB, free: 7.062 MB / 222.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.8/1.859, allocations: 294.9 MB / 0.5501 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5443/2.403, allocations: 187.4 MB / 0.7331 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/2.403, allocations: 11.72 kB / 0.7331 GB, free: 1.191 MB / 0.5919 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.0001829/2.404, allocations: 43.42 kB / 0.7332 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003581/2.404, allocations: 122.2 kB / 0.7333 GB, free: 1.188 MB / 0.5919 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.03036/2.434, allocations: 11.33 MB / 0.7444 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005421/2.435, allocations: 441.5 kB / 0.7448 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/2.435, allocations: 214.8 kB / 0.745 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/2.435, allocations: 172.1 kB / 0.7451 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/2.436, allocations: 186.2 kB / 0.7453 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/2.436, allocations: 36.31 kB / 0.7454 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03604/2.472, allocations: 19.88 MB / 0.7648 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/2.472, allocations: 86.61 kB / 0.7648 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003505/2.472, allocations: 197.2 kB / 0.765 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02513/2.497, allocations: 9.72 MB / 0.7745 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/2.497, allocations: 0 / 0.7745 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/2.497, allocations: 7.25 kB / 0.7745 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.115e-05/2.497, allocations: 0 / 0.7745 GB, free: 12.35 MB / 0.6075 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.005197/2.503, allocations: 1.771 MB / 0.7763 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/2.503, allocations: 15.97 kB / 0.7763 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.156e-05/2.503, allocations: 43.94 kB / 0.7763 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/2.503, allocations: 318.1 kB / 0.7766 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/2.503, allocations: 30.53 kB / 0.7767 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/2.503, allocations: 32.22 kB / 0.7767 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/2.504, allocations: 384.8 kB / 0.7771 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/2.504, allocations: 2.312 kB / 0.7771 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/2.504, allocations: 12.81 kB / 0.7771 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/2.504, allocations: 17.08 kB / 0.7771 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/2.504, allocations: 258.5 kB / 0.7773 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008513/2.513, allocations: 6.15 MB / 0.7833 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/2.515, allocations: 306.6 kB / 0.7836 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/2.515, allocations: 60.44 kB / 0.7837 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1651/2.68, allocations: 82.51 MB / 0.8643 GB, free: 0 / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/2.68, allocations: 30.56 kB / 0.8643 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/2.68, allocations: 0 / 0.8643 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.005123/2.685, allocations: 0.9158 MB / 0.8652 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/2.685, allocations: 59.41 kB / 0.8652 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/2.686, allocations: 313.8 kB / 0.8655 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/2.686, allocations: 29.02 kB / 0.8656 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/2.686, allocations: 242.1 kB / 0.8658 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/2.686, allocations: 46.27 kB / 0.8658 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/2.686, allocations: 62.11 kB / 0.8659 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001126/2.686, allocations: 337.2 kB / 0.8662 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/2.686, allocations: 68.41 kB / 0.8663 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/2.686, allocations: 164.1 kB / 0.8664 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/2.687, allocations: 242.5 kB / 0.8667 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/2.687, allocations: 4 kB / 0.8667 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002325/2.689, allocations: 0.5658 MB / 0.8672 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/2.689, allocations: 9.203 kB / 0.8672 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/2.689, allocations: 5.094 kB / 0.8672 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008427/2.69, allocations: 146.1 kB / 0.8674 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/2.69, allocations: 48.06 kB / 0.8674 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007845/2.691, allocations: 0.6909 MB / 0.8681 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/2.691, allocations: 39.69 kB / 0.8681 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/2.691, allocations: 14.5 kB / 0.8682 GB, free: 12.34 MB / 0.7012 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.0001881/2.692, allocations: 149.9 kB / 0.8683 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/2.692, allocations: 24.34 kB / 0.8683 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/2.694, allocations: 484 kB / 0.8688 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/2.694, allocations: 4 kB / 0.8688 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/2.694, allocations: 0 / 0.8688 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/2.694, allocations: 0 / 0.8688 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/2.694, allocations: 340.5 kB / 0.8691 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/2.694, allocations: 0 / 0.8691 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/2.694, allocations: 7.984 kB / 0.8691 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006521/2.695, allocations: 159.5 kB / 0.8693 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/2.695, allocations: 1.875 kB / 0.8693 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006892/2.696, allocations: 0.687 MB / 0.8699 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/2.696, allocations: 0 / 0.8699 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/2.698, allocations: 466.5 kB / 0.8704 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/2.698, allocations: 112.1 kB / 0.8705 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/2.698, allocations: 8.578 kB / 0.8705 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/2.698, allocations: 0 / 0.8705 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/2.698, allocations: 11.48 kB / 0.8705 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/2.698, allocations: 7.938 kB / 0.8705 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002285/2.698, allocations: 224.3 kB / 0.8707 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/2.698, allocations: 0 / 0.8707 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00437/2.703, allocations: 1.435 MB / 0.8721 GB, free: 8.496 MB / 0.7012 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.006594/2.709, allocations: 2.19 MB / 0.8743 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007217/2.71, allocations: 197.6 kB / 0.8745 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.71, allocations: 0 / 0.8745 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/2.71, allocations: 86.02 kB / 0.8746 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/2.711, allocations: 70.92 kB / 0.8746 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/2.712, allocations: 0.5337 MB / 0.8751 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/2.712, allocations: 0.7717 MB / 0.8759 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000111/2.712, allocations: 30.97 kB / 0.8759 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/2.712, allocations: 23.44 kB / 0.8759 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of SimCode: time 3.51e-07/2.712, allocations: 4 kB / 0.8759 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of Templates: time 0.05754/2.77, allocations: 46.13 MB / 0.921 GB, free: 6.773 MB / 0.7481 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)