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.8278/0.8278, allocations: 150.9 MB / 166.5 MB, free: 14.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 22.34 kB / 237.1 MB, free: 1.918 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04867/0.04899, allocations: 31.34 MB / 268.4 MB, free: 7.168 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.628/1.677, allocations: 294.8 MB / 0.55 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03922/1.716, allocations: 34.44 MB / 0.5837 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/1.716, allocations: 0 / 0.5837 GB, free: 10.42 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.000353/1.717, allocations: 116.9 kB / 0.5838 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/1.717, allocations: 103.1 kB / 0.5839 GB, free: 10.2 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.02346/1.74, allocations: 9.59 MB / 0.5932 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005715/1.741, allocations: 402.3 kB / 0.5936 GB, free: 208 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/1.741, allocations: 128.4 kB / 0.5938 GB, free: 80 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/1.741, allocations: 167.4 kB / 0.5939 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/1.742, allocations: 139.3 kB / 0.594 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/1.742, allocations: 24 kB / 0.5941 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02974/1.771, allocations: 17.88 MB / 0.6115 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/1.771, allocations: 55.77 kB / 0.6116 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/1.772, allocations: 155.2 kB / 0.6117 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01662/1.788, allocations: 8.453 MB / 0.62 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.788, allocations: 0 / 0.62 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.788, allocations: 0 / 0.62 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.788, allocations: 4 kB / 0.62 GB, free: 5.168 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.003759/1.792, allocations: 1.483 MB / 0.6214 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/1.792, allocations: 12.03 kB / 0.6214 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/1.792, allocations: 43.41 kB / 0.6215 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/1.792, allocations: 242.5 kB / 0.6217 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/1.792, allocations: 16.56 kB / 0.6217 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/1.793, allocations: 28 kB / 0.6218 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/1.793, allocations: 332.2 kB / 0.6221 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.793, allocations: 3.984 kB / 0.6221 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/1.793, allocations: 12 kB / 0.6221 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/1.793, allocations: 12 kB / 0.6221 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/1.794, allocations: 231 kB / 0.6223 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03869/1.832, allocations: 18.12 MB / 0.64 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/1.833, allocations: 198.5 kB / 0.6402 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/1.833, allocations: 124.8 kB / 0.6403 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.344/2.177, allocations: 77.72 MB / 0.7162 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/2.177, allocations: 33.02 kB / 0.7163 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/2.177, allocations: 3.906 kB / 0.7163 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.00416/2.181, allocations: 0.9386 MB / 0.7172 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/2.181, allocations: 56.66 kB / 0.7172 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/2.182, allocations: 250.3 kB / 0.7175 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/2.182, allocations: 30.23 kB / 0.7175 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/2.182, allocations: 157.4 kB / 0.7177 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/2.182, allocations: 137.1 kB / 0.7178 GB, free: 207 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/2.182, allocations: 59.39 kB / 0.7178 GB, free: 207 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.879e-05/2.182, allocations: 344.3 kB / 0.7182 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/2.182, allocations: 95.2 kB / 0.7183 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/2.182, allocations: 149.6 kB / 0.7184 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/2.183, allocations: 269.4 kB / 0.7187 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.183, allocations: 1.125 kB / 0.7187 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002315/2.185, allocations: 0.6087 MB / 0.7193 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/2.185, allocations: 8.031 kB / 0.7193 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/2.185, allocations: 0.9375 kB / 0.7193 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/2.186, allocations: 217.9 kB / 0.7195 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/2.186, allocations: 15.33 kB / 0.7195 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007308/2.187, allocations: 0.7402 MB / 0.7202 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/2.187, allocations: 39.73 kB / 0.7202 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/2.187, allocations: 7.438 kB / 0.7203 GB, free: 206 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 0.0001144/2.187, allocations: 143.5 kB / 0.7204 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/2.187, allocations: 34.33 kB / 0.7204 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/2.188, allocations: 0.7775 MB / 0.7212 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004398/2.188, allocations: 296.6 kB / 0.7215 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.188, allocations: 0.5625 kB / 0.7215 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/2.188, allocations: 4.594 kB / 0.7215 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/2.19, allocations: 0.8789 MB / 0.7223 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/2.19, allocations: 4.453 kB / 0.7223 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/2.19, allocations: 26.17 kB / 0.7224 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006386/2.19, allocations: 189.9 kB / 0.7225 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/2.19, allocations: 7.188 kB / 0.7225 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006835/2.191, allocations: 0.7666 MB / 0.7233 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/2.191, allocations: 0 / 0.7233 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/2.192, allocations: 435.9 kB / 0.7237 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/2.192, allocations: 116.3 kB / 0.7238 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/2.192, allocations: 10.22 kB / 0.7238 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/2.192, allocations: 10.25 kB / 0.7238 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/2.192, allocations: 21.53 kB / 0.7239 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/2.192, allocations: 4.438 kB / 0.7239 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000241/2.192, allocations: 257.5 kB / 0.7241 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/2.192, allocations: 0 / 0.7241 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002968/2.195, allocations: 1.189 MB / 0.7253 GB, free: 204.3 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.004332/2.199, allocations: 1.728 MB / 0.727 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007272/2.2, allocations: 319.9 kB / 0.7273 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/2.2, allocations: 3.438 kB / 0.7273 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/2.201, allocations: 140.3 kB / 0.7274 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/2.201, allocations: 136.2 kB / 0.7275 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/2.202, allocations: 0.5913 MB / 0.7281 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/2.202, allocations: 0.7791 MB / 0.7289 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.699e-05/2.203, allocations: 27.72 kB / 0.7289 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/2.203, allocations: 19.91 kB / 0.7289 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/2.203, allocations: 6.016 kB / 0.7289 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.04406/2.247, allocations: 43.31 MB / 0.7712 GB, free: 176.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)