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.8246/0.8246, allocations: 150.9 MB / 166.7 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003553, allocations: 19.97 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 31.33 MB / 236.1 MB, free: 5.461 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.723/1.912, allocations: 293.8 MB / 0.5175 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2256/2.137, allocations: 185.4 MB / 0.6986 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/2.138, allocations: 7.938 kB / 0.6986 GB, free: 3.703 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.0001629/2.138, allocations: 28.61 kB / 0.6986 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004027/2.138, allocations: 111.1 kB / 0.6987 GB, free: 3.566 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.4442/2.582, allocations: 9.969 MB / 0.7084 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006542/2.583, allocations: 431.2 kB / 0.7089 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/2.583, allocations: 225.4 kB / 0.7091 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/2.584, allocations: 172.6 kB / 0.7092 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/2.584, allocations: 188.7 kB / 0.7094 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/2.584, allocations: 38.56 kB / 0.7094 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03431/2.618, allocations: 19.72 MB / 0.7287 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/2.618, allocations: 84.41 kB / 0.7288 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003029/2.619, allocations: 203.2 kB / 0.729 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/2.632, allocations: 6.728 MB / 0.7356 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.527e-06/2.632, allocations: 1.5 kB / 0.7356 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.427e-06/2.632, allocations: 3.875 kB / 0.7356 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.997e-06/2.632, allocations: 3.531 kB / 0.7356 GB, free: 3.613 MB / 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.005795/2.638, allocations: 1.776 MB / 0.7373 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/2.638, allocations: 10.03 kB / 0.7373 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/2.638, allocations: 47.88 kB / 0.7373 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/2.638, allocations: 299.6 kB / 0.7376 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/2.638, allocations: 27.84 kB / 0.7377 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/2.639, allocations: 34.94 kB / 0.7377 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/2.639, allocations: 385 kB / 0.7381 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/2.639, allocations: 2.812 kB / 0.7381 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/2.639, allocations: 24.14 kB / 0.7381 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/2.639, allocations: 8.938 kB / 0.7381 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/2.64, allocations: 253.5 kB / 0.7383 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008577/2.648, allocations: 6.161 MB / 0.7444 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/2.65, allocations: 307.7 kB / 0.7446 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/2.65, allocations: 59.16 kB / 0.7447 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1512/2.801, allocations: 82.03 MB / 0.8248 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/2.801, allocations: 33.69 kB / 0.8248 GB, free: 13.07 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.755e-06/2.801, allocations: 0 / 0.8248 GB, free: 13.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005391/2.807, allocations: 0.9096 MB / 0.8257 GB, free: 12.21 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/2.807, allocations: 55.41 kB / 0.8258 GB, free: 12.14 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/2.807, allocations: 304 kB / 0.8261 GB, free: 11.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/2.807, allocations: 29.55 kB / 0.8261 GB, free: 11.87 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/2.808, allocations: 241.8 kB / 0.8263 GB, free: 11.67 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/2.808, allocations: 50.3 kB / 0.8264 GB, free: 11.63 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/2.808, allocations: 66.61 kB / 0.8264 GB, free: 11.58 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001263/2.808, allocations: 337.4 kB / 0.8268 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/2.808, allocations: 72.91 kB / 0.8268 GB, free: 11.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/2.808, allocations: 168.5 kB / 0.827 GB, free: 11.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/2.809, allocations: 243.5 kB / 0.8272 GB, free: 10.81 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.809, allocations: 4 kB / 0.8272 GB, free: 10.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002489/2.811, allocations: 0.5593 MB / 0.8278 GB, free: 10.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/2.811, allocations: 8 kB / 0.8278 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/2.811, allocations: 5.203 kB / 0.8278 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/2.812, allocations: 160.7 kB / 0.8279 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/2.812, allocations: 37.95 kB / 0.828 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007415/2.813, allocations: 0.6941 MB / 0.8287 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/2.813, allocations: 34.97 kB / 0.8287 GB, free: 9.473 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/2.813, allocations: 19.59 kB / 0.8287 GB, free: 9.457 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.0001885/2.813, allocations: 150.5 kB / 0.8289 GB, free: 9.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/2.813, allocations: 23.72 kB / 0.8289 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/2.816, allocations: 481.9 kB / 0.8293 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/2.816, allocations: 0 / 0.8293 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/2.816, allocations: 0 / 0.8293 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/2.816, allocations: 4 kB / 0.8293 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/2.816, allocations: 341.2 kB / 0.8297 GB, free: 8.555 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/2.816, allocations: 0 / 0.8297 GB, free: 8.555 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/2.816, allocations: 4 kB / 0.8297 GB, free: 8.551 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006822/2.817, allocations: 166.7 kB / 0.8298 GB, free: 8.418 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/2.817, allocations: 0 / 0.8298 GB, free: 8.418 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000688/2.818, allocations: 0.693 MB / 0.8305 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.818, allocations: 0 / 0.8305 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/2.82, allocations: 466.2 kB / 0.831 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/2.82, allocations: 115.7 kB / 0.8311 GB, free: 7.219 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/2.82, allocations: 4 kB / 0.8311 GB, free: 7.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/2.82, allocations: 15.11 kB / 0.8311 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/2.82, allocations: 5.188 kB / 0.8311 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/2.82, allocations: 4 kB / 0.8311 GB, free: 7.195 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002567/2.821, allocations: 225 kB / 0.8313 GB, free: 7.02 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/2.821, allocations: 2.906 kB / 0.8313 GB, free: 7.02 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005128/2.826, allocations: 1.437 MB / 0.8327 GB, free: 5.684 MB / 0.67 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.009943/2.836, allocations: 2.245 MB / 0.8349 GB, free: 3.773 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008635/2.837, allocations: 199.8 kB / 0.8351 GB, free: 3.629 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/2.837, allocations: 0 / 0.8351 GB, free: 3.629 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/2.837, allocations: 89.14 kB / 0.8352 GB, free: 3.562 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/2.838, allocations: 66.75 kB / 0.8352 GB, free: 3.523 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/2.839, allocations: 0.6872 MB / 0.8359 GB, free: 2.848 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/2.839, allocations: 0.7843 MB / 0.8367 GB, free: 2.035 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/2.839, allocations: 23.44 kB / 0.8367 GB, free: 2.012 MB / 0.67 GB Notification: Performance of SimCode: time 4.31e-07/2.839, allocations: 0 / 0.8367 GB, free: 2.012 MB / 0.67 GB Notification: Performance of Templates: time 0.0459/2.885, allocations: 28.97 MB / 0.865 GB, free: 5.172 MB / 0.7012 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)