Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7368/0.7368, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 21.55 kB / 237.8 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04539/0.0457, allocations: 31.35 MB / 269.1 MB, free: 7.043 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.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.435/1.481, allocations: 294.8 MB / 0.5507 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03569/1.517, allocations: 34.44 MB / 0.5843 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/1.517, allocations: 4 kB / 0.5843 GB, free: 10.44 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42: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 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37: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 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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.000348/1.517, allocations: 111.3 kB / 0.5844 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/1.518, allocations: 103.1 kB / 0.5845 GB, free: 10.23 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02083/1.539, allocations: 9.594 MB / 0.5939 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/1.539, allocations: 398.3 kB / 0.5943 GB, free: 232 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/1.539, allocations: 132.5 kB / 0.5944 GB, free: 100 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/1.54, allocations: 167.4 kB / 0.5946 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/1.54, allocations: 139.3 kB / 0.5947 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/1.54, allocations: 24 kB / 0.5947 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0269/1.567, allocations: 17.89 MB / 0.6122 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/1.567, allocations: 51.78 kB / 0.6123 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/1.567, allocations: 159.1 kB / 0.6124 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/1.58, allocations: 8.441 MB / 0.6206 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.58, allocations: 11.88 kB / 0.6207 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/1.58, allocations: 4 kB / 0.6207 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.976e-06/1.58, allocations: 0 / 0.6207 GB, free: 5.18 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003499/1.584, allocations: 1.486 MB / 0.6221 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/1.584, allocations: 11.97 kB / 0.6221 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/1.584, allocations: 39.47 kB / 0.6222 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.584, allocations: 242.5 kB / 0.6224 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/1.584, allocations: 20.56 kB / 0.6224 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/1.584, allocations: 20 kB / 0.6224 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/1.585, allocations: 336.2 kB / 0.6228 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.585, allocations: 0 / 0.6228 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/1.585, allocations: 12 kB / 0.6228 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/1.585, allocations: 15.98 kB / 0.6228 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/1.585, allocations: 223.1 kB / 0.623 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03635/1.622, allocations: 18.12 MB / 0.6407 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/1.622, allocations: 202.5 kB / 0.6409 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/1.622, allocations: 128.8 kB / 0.641 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3055/1.928, allocations: 77.72 MB / 0.7169 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/1.928, allocations: 31.69 kB / 0.7169 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 1.793e-06/1.928, allocations: 0 / 0.7169 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.003753/1.932, allocations: 0.9408 MB / 0.7179 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/1.932, allocations: 59.91 kB / 0.7179 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/1.932, allocations: 250 kB / 0.7182 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/1.932, allocations: 27.02 kB / 0.7182 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/1.932, allocations: 155.1 kB / 0.7183 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/1.932, allocations: 136.2 kB / 0.7185 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/1.932, allocations: 60.14 kB / 0.7185 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.932, allocations: 350.2 kB / 0.7188 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/1.932, allocations: 97.28 kB / 0.7189 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/1.932, allocations: 144 kB / 0.7191 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/1.933, allocations: 270.2 kB / 0.7193 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.933, allocations: 0 / 0.7193 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002097/1.935, allocations: 0.6066 MB / 0.7199 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.935, allocations: 12.47 kB / 0.7199 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.935, allocations: 1.594 kB / 0.7199 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/1.936, allocations: 219.2 kB / 0.7201 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/1.936, allocations: 19.02 kB / 0.7202 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006441/1.936, allocations: 0.738 MB / 0.7209 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/1.937, allocations: 37.09 kB / 0.7209 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/1.937, allocations: 11.95 kB / 0.7209 GB, free: 206.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/1.937, allocations: 142.8 kB / 0.7211 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/1.937, allocations: 32 kB / 0.7211 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/1.937, allocations: 0.776 MB / 0.7219 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003838/1.938, allocations: 298.2 kB / 0.7221 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.938, allocations: 1.094 kB / 0.7221 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.938, allocations: 5.328 kB / 0.7221 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009291/1.939, allocations: 0.8772 MB / 0.723 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.939, allocations: 1.094 kB / 0.723 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/1.939, allocations: 20.67 kB / 0.723 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005706/1.94, allocations: 197.6 kB / 0.7232 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.94, allocations: 14.23 kB / 0.7232 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005663/1.94, allocations: 0.758 MB / 0.724 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.94, allocations: 0 / 0.724 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/1.941, allocations: 435.7 kB / 0.7244 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/1.941, allocations: 117 kB / 0.7245 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/1.941, allocations: 10.94 kB / 0.7245 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.941, allocations: 6.281 kB / 0.7245 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/1.941, allocations: 18.39 kB / 0.7245 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/1.941, allocations: 8.438 kB / 0.7245 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002063/1.941, allocations: 257.8 kB / 0.7248 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.941, allocations: 0 / 0.7248 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002425/1.944, allocations: 1.191 MB / 0.7259 GB, free: 204.5 MB / 0.5919 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 (13): * Single equations (assignments): 12 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00349/1.947, allocations: 1.723 MB / 0.7276 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005689/1.948, allocations: 325.9 kB / 0.7279 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.948, allocations: 0 / 0.7279 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/1.948, allocations: 141.9 kB / 0.7281 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/1.949, allocations: 129.4 kB / 0.7282 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/1.95, allocations: 0.6203 MB / 0.7288 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/1.95, allocations: 0.7816 MB / 0.7296 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/1.95, allocations: 24.83 kB / 0.7296 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/1.95, allocations: 0 / 0.7296 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.02409/1.974, allocations: 25.39 MB / 0.7544 GB, free: 194.1 MB / 0.5919 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)