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.8203/0.8203, allocations: 150.9 MB / 166.4 MB, free: 14.24 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 23.97 kB / 204.5 MB, free: 9.594 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 31.33 MB / 235.9 MB, free: 5.434 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.63/1.786, allocations: 294.9 MB / 0.5183 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1963/1.983, allocations: 187.4 MB / 0.7013 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/1.983, allocations: 4 kB / 0.7013 GB, free: 0.9727 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.0001462/1.983, allocations: 47.52 kB / 0.7014 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003046/1.983, allocations: 118.9 kB / 0.7015 GB, free: 0.8086 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.29/2.273, allocations: 11.32 MB / 0.7125 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005069/2.274, allocations: 433.2 kB / 0.713 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/2.274, allocations: 224.8 kB / 0.7132 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/2.274, allocations: 166.3 kB / 0.7133 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/2.275, allocations: 192.7 kB / 0.7135 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/2.275, allocations: 37.22 kB / 0.7136 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.032/2.307, allocations: 19.54 MB / 0.7326 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/2.307, allocations: 87.08 kB / 0.7327 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002567/2.307, allocations: 196.9 kB / 0.7329 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02019/2.327, allocations: 9.739 MB / 0.7424 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/2.327, allocations: 0 / 0.7424 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/2.327, allocations: 1.203 kB / 0.7424 GB, free: 348 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.305e-06/2.327, allocations: 3.719 kB / 0.7424 GB, free: 348 kB / 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.004724/2.332, allocations: 1.778 MB / 0.7442 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/2.332, allocations: 10.09 kB / 0.7442 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.634e-05/2.332, allocations: 52.69 kB / 0.7442 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/2.332, allocations: 298.6 kB / 0.7445 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/2.333, allocations: 29.06 kB / 0.7445 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/2.333, allocations: 34.41 kB / 0.7446 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/2.333, allocations: 386.2 kB / 0.7449 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/2.333, allocations: 0.7188 kB / 0.7449 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/2.333, allocations: 16.41 kB / 0.7449 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/2.333, allocations: 13.02 kB / 0.745 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/2.334, allocations: 257.4 kB / 0.7452 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008731/2.342, allocations: 6.161 MB / 0.7512 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/2.344, allocations: 305.3 kB / 0.7515 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/2.344, allocations: 61.61 kB / 0.7516 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1647/2.509, allocations: 82.04 MB / 0.8317 GB, free: 6.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/2.509, allocations: 33.94 kB / 0.8317 GB, free: 6.781 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/2.509, allocations: 4 kB / 0.8317 GB, free: 6.777 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005111/2.514, allocations: 0.9029 MB / 0.8326 GB, free: 5.922 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/2.514, allocations: 55.41 kB / 0.8327 GB, free: 5.855 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/2.515, allocations: 311.4 kB / 0.8329 GB, free: 5.605 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/2.515, allocations: 25.7 kB / 0.833 GB, free: 5.574 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/2.515, allocations: 242.3 kB / 0.8332 GB, free: 5.375 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/2.515, allocations: 46.36 kB / 0.8332 GB, free: 5.336 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/2.515, allocations: 62.69 kB / 0.8333 GB, free: 5.289 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001033/2.515, allocations: 341.4 kB / 0.8336 GB, free: 4.957 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/2.515, allocations: 68.95 kB / 0.8337 GB, free: 4.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/2.515, allocations: 167.9 kB / 0.8339 GB, free: 4.73 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/2.516, allocations: 247.3 kB / 0.8341 GB, free: 4.516 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/2.516, allocations: 4 kB / 0.8341 GB, free: 4.512 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002349/2.518, allocations: 0.5516 MB / 0.8346 GB, free: 4.051 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/2.518, allocations: 8 kB / 0.8346 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/2.518, allocations: 5.094 kB / 0.8347 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007562/2.519, allocations: 168 kB / 0.8348 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/2.519, allocations: 38.61 kB / 0.8348 GB, free: 3.867 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007037/2.52, allocations: 0.6914 MB / 0.8355 GB, free: 3.211 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/2.52, allocations: 39.25 kB / 0.8356 GB, free: 3.176 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/2.52, allocations: 18.41 kB / 0.8356 GB, free: 3.164 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.0001522/2.52, allocations: 150.7 kB / 0.8357 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/2.52, allocations: 27.7 kB / 0.8357 GB, free: 3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/2.523, allocations: 480.6 kB / 0.8362 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/2.523, allocations: 0 / 0.8362 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/2.523, allocations: 0 / 0.8362 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/2.523, allocations: 3.984 kB / 0.8362 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/2.523, allocations: 337.6 kB / 0.8365 GB, free: 2.262 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/2.523, allocations: 0 / 0.8365 GB, free: 2.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/2.523, allocations: 8 kB / 0.8365 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006582/2.524, allocations: 163.1 kB / 0.8367 GB, free: 2.117 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/2.524, allocations: 0 / 0.8367 GB, free: 2.117 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006641/2.524, allocations: 0.6849 MB / 0.8374 GB, free: 1.469 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/2.524, allocations: 0 / 0.8374 GB, free: 1.469 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/2.526, allocations: 466.5 kB / 0.8378 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/2.527, allocations: 119.7 kB / 0.8379 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/2.527, allocations: 7.984 kB / 0.8379 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/2.527, allocations: 3.625 kB / 0.8379 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/2.527, allocations: 12.47 kB / 0.8379 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/2.527, allocations: 7.984 kB / 0.838 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002133/2.527, allocations: 221.1 kB / 0.8382 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/2.527, allocations: 0 / 0.8382 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004094/2.531, allocations: 1.434 MB / 0.8396 GB, free: 15.4 MB / 0.6856 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.006049/2.537, allocations: 2.183 MB / 0.8417 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006444/2.538, allocations: 192.6 kB / 0.8419 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.538, allocations: 0 / 0.8419 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/2.538, allocations: 82.83 kB / 0.842 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/2.539, allocations: 75.44 kB / 0.842 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/2.54, allocations: 0.5437 MB / 0.8426 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/2.54, allocations: 0.7754 MB / 0.8433 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001358/2.54, allocations: 42.27 kB / 0.8434 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/2.54, allocations: 26.81 kB / 0.8434 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of SimCode: time 2.1e-07/2.54, allocations: 0 / 0.8434 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of Templates: time 0.05713/2.597, allocations: 46.09 MB / 0.8884 GB, free: 13.89 MB / 0.7325 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)