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.7376/0.7376, allocations: 150.9 MB / 167.2 MB, free: 14.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 16.02 kB / 237.8 MB, free: 1.789 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0464/0.04673, allocations: 31.36 MB / 269.1 MB, free: 7.035 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.406/1.453, allocations: 294.8 MB / 0.5507 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03363/1.486, allocations: 34.44 MB / 0.5843 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/1.487, allocations: 0 / 0.5843 GB, free: 10.58 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.0003233/1.487, allocations: 121 kB / 0.5844 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/1.487, allocations: 107.1 kB / 0.5845 GB, free: 10.36 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.02097/1.508, allocations: 9.586 MB / 0.5939 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004793/1.508, allocations: 402.2 kB / 0.5943 GB, free: 368 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/1.509, allocations: 120.5 kB / 0.5944 GB, free: 248 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/1.509, allocations: 171.3 kB / 0.5946 GB, free: 76 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/1.509, allocations: 139.4 kB / 0.5947 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/1.509, allocations: 24 kB / 0.5947 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02635/1.535, allocations: 17.88 MB / 0.6122 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/1.536, allocations: 55.77 kB / 0.6122 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/1.536, allocations: 159.1 kB / 0.6124 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01491/1.551, allocations: 8.445 MB / 0.6206 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.551, allocations: 3.938 kB / 0.6206 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.056e-06/1.551, allocations: 3.984 kB / 0.6207 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.551, allocations: 0 / 0.6207 GB, free: 5.324 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.00343/1.554, allocations: 1.482 MB / 0.6221 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/1.554, allocations: 12.03 kB / 0.6221 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/1.554, allocations: 43.47 kB / 0.6222 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/1.555, allocations: 246.5 kB / 0.6224 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/1.555, allocations: 16.56 kB / 0.6224 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/1.555, allocations: 24 kB / 0.6224 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/1.555, allocations: 336.2 kB / 0.6227 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.555, allocations: 3.984 kB / 0.6227 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/1.555, allocations: 12 kB / 0.6228 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/1.555, allocations: 15.98 kB / 0.6228 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/1.555, allocations: 227 kB / 0.623 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/1.589, allocations: 18.12 MB / 0.6407 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/1.589, allocations: 202.5 kB / 0.6409 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/1.589, allocations: 120.8 kB / 0.641 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2879/1.877, allocations: 77.73 MB / 0.7169 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/1.877, allocations: 34 kB / 0.7169 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/1.877, allocations: 0 / 0.7169 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.003714/1.881, allocations: 0.9418 MB / 0.7179 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/1.881, allocations: 53.38 kB / 0.7179 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/1.881, allocations: 254.1 kB / 0.7181 GB, free: 208 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/1.881, allocations: 27.05 kB / 0.7182 GB, free: 208 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/1.882, allocations: 154.8 kB / 0.7183 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/1.882, allocations: 134.4 kB / 0.7184 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/1.882, allocations: 56.44 kB / 0.7185 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/1.882, allocations: 346.5 kB / 0.7188 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/1.882, allocations: 102.5 kB / 0.7189 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/1.882, allocations: 147 kB / 0.7191 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/1.882, allocations: 271.8 kB / 0.7193 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.882, allocations: 1.125 kB / 0.7193 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002157/1.885, allocations: 0.605 MB / 0.7199 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.885, allocations: 9.312 kB / 0.7199 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.885, allocations: 0.6562 kB / 0.7199 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006969/1.885, allocations: 224.4 kB / 0.7201 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/1.885, allocations: 16.12 kB / 0.7202 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006003/1.886, allocations: 0.7396 MB / 0.7209 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/1.886, allocations: 32.06 kB / 0.7209 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/1.886, allocations: 10 kB / 0.7209 GB, free: 206.8 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.169e-05/1.886, allocations: 142.9 kB / 0.7211 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/1.886, allocations: 34.69 kB / 0.7211 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/1.887, allocations: 0.7797 MB / 0.7219 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003778/1.887, allocations: 297.8 kB / 0.7221 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.887, allocations: 1.094 kB / 0.7221 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/1.887, allocations: 0 / 0.7221 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/1.888, allocations: 0.8865 MB / 0.723 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.888, allocations: 0 / 0.723 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/1.888, allocations: 24.42 kB / 0.723 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/1.889, allocations: 191.9 kB / 0.7232 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.889, allocations: 6.062 kB / 0.7232 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005435/1.89, allocations: 0.7702 MB / 0.724 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.89, allocations: 2.875 kB / 0.724 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/1.89, allocations: 430.4 kB / 0.7244 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/1.89, allocations: 115.8 kB / 0.7245 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/1.89, allocations: 16.69 kB / 0.7245 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/1.89, allocations: 7.438 kB / 0.7245 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/1.89, allocations: 18.59 kB / 0.7245 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/1.89, allocations: 4.125 kB / 0.7245 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001989/1.891, allocations: 258.3 kB / 0.7248 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.891, allocations: 0 / 0.7248 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002385/1.893, allocations: 1.183 MB / 0.7259 GB, free: 205.1 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.003411/1.896, allocations: 1.723 MB / 0.7276 GB, free: 205 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005556/1.897, allocations: 326.2 kB / 0.7279 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.897, allocations: 1.906 kB / 0.7279 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002765/1.897, allocations: 140.6 kB / 0.7281 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/1.898, allocations: 134.1 kB / 0.7282 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/1.899, allocations: 0.6287 MB / 0.7288 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/1.899, allocations: 0.7782 MB / 0.7296 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/1.899, allocations: 28.59 kB / 0.7296 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/1.899, allocations: 3.828 kB / 0.7296 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.02397/1.923, allocations: 25.42 MB / 0.7544 GB, free: 194.7 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)