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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8342/0.8342, allocations: 150.9 MB / 166.4 MB, free: 14.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 19.97 kB / 204.6 MB, free: 9.652 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1751, allocations: 31.32 MB / 236 MB, free: 5.387 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.648/1.823, allocations: 294.9 MB / 0.5184 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2067/2.03, allocations: 187.4 MB / 0.7014 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/2.03, allocations: 7.938 kB / 0.7014 GB, free: 1.324 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.0002026/2.03, allocations: 48.78 kB / 0.7015 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004984/2.031, allocations: 122.9 kB / 0.7016 GB, free: 1.156 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.3596/2.39, allocations: 11.32 MB / 0.7127 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/2.391, allocations: 435.5 kB / 0.7131 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/2.391, allocations: 223.5 kB / 0.7133 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/2.391, allocations: 169 kB / 0.7135 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/2.391, allocations: 190.2 kB / 0.7136 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/2.391, allocations: 37.06 kB / 0.7137 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03145/2.423, allocations: 19.54 MB / 0.7327 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/2.423, allocations: 83.09 kB / 0.7328 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/2.423, allocations: 197.5 kB / 0.733 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02537/2.449, allocations: 9.743 MB / 0.7425 GB, free: 460 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/2.449, allocations: 0 / 0.7425 GB, free: 460 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/2.449, allocations: 0 / 0.7425 GB, free: 460 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.418e-06/2.449, allocations: 0.9062 kB / 0.7425 GB, free: 460 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.006662/2.456, allocations: 1.784 MB / 0.7443 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/2.456, allocations: 10.72 kB / 0.7443 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.815e-05/2.456, allocations: 78.81 kB / 0.7444 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/2.456, allocations: 42.41 kB / 0.7444 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/2.456, allocations: 301.8 kB / 0.7447 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/2.456, allocations: 24.66 kB / 0.7447 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/2.456, allocations: 34.5 kB / 0.7447 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/2.457, allocations: 386.4 kB / 0.7451 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.457, allocations: 0 / 0.7451 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/2.457, allocations: 24.94 kB / 0.7451 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/2.457, allocations: 6.844 kB / 0.7451 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/2.458, allocations: 257.9 kB / 0.7454 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008489/2.466, allocations: 6.155 MB / 0.7514 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/2.468, allocations: 311 kB / 0.7517 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/2.468, allocations: 57.25 kB / 0.7518 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1674/2.635, allocations: 82.03 MB / 0.8319 GB, free: 6.926 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/2.636, allocations: 36.67 kB / 0.8319 GB, free: 6.883 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/2.636, allocations: 0 / 0.8319 GB, free: 6.883 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005258/2.641, allocations: 0.9065 MB / 0.8328 GB, free: 6.023 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/2.641, allocations: 58.59 kB / 0.8328 GB, free: 5.957 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/2.641, allocations: 311.8 kB / 0.8331 GB, free: 5.703 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/2.641, allocations: 25.7 kB / 0.8332 GB, free: 5.672 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/2.642, allocations: 241.5 kB / 0.8334 GB, free: 5.469 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/2.642, allocations: 52.59 kB / 0.8334 GB, free: 5.426 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/2.642, allocations: 63.7 kB / 0.8335 GB, free: 5.379 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001204/2.642, allocations: 339.8 kB / 0.8338 GB, free: 5.055 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/2.642, allocations: 61.41 kB / 0.8339 GB, free: 5.012 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/2.642, allocations: 170.1 kB / 0.834 GB, free: 4.832 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/2.643, allocations: 241.7 kB / 0.8343 GB, free: 4.621 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/2.643, allocations: 4 kB / 0.8343 GB, free: 4.617 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002374/2.645, allocations: 0.5558 MB / 0.8348 GB, free: 4.152 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/2.645, allocations: 13.12 kB / 0.8348 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/2.645, allocations: 4 kB / 0.8348 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008047/2.646, allocations: 163.3 kB / 0.835 GB, free: 4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/2.646, allocations: 43.17 kB / 0.835 GB, free: 3.965 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000744/2.647, allocations: 0.684 MB / 0.8357 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/2.647, allocations: 43.16 kB / 0.8357 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/2.647, allocations: 19.47 kB / 0.8358 GB, free: 3.266 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.0001688/2.647, allocations: 150.4 kB / 0.8359 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/2.647, allocations: 27.34 kB / 0.8359 GB, free: 3.105 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/2.65, allocations: 473.7 kB / 0.8364 GB, free: 2.691 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/2.65, allocations: 4 kB / 0.8364 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/2.65, allocations: 0 / 0.8364 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/2.65, allocations: 4 kB / 0.8364 GB, free: 2.684 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/2.65, allocations: 336 kB / 0.8367 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/2.65, allocations: 1.203 kB / 0.8367 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/2.65, allocations: 10.94 kB / 0.8367 GB, free: 2.363 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006737/2.651, allocations: 157.6 kB / 0.8369 GB, free: 2.227 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/2.651, allocations: 0 / 0.8369 GB, free: 2.227 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006813/2.651, allocations: 0.6907 MB / 0.8375 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/2.651, allocations: 4 kB / 0.8376 GB, free: 1.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/2.654, allocations: 467.4 kB / 0.838 GB, free: 1.152 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/2.654, allocations: 115.7 kB / 0.8381 GB, free: 1.027 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/2.654, allocations: 0 / 0.8381 GB, free: 1.027 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/2.654, allocations: 11.36 kB / 0.8381 GB, free: 1.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/2.654, allocations: 3.984 kB / 0.8381 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/2.654, allocations: 4 kB / 0.8381 GB, free: 1.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002387/2.654, allocations: 230.1 kB / 0.8383 GB, free: 0.832 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/2.654, allocations: 0 / 0.8383 GB, free: 0.832 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004316/2.659, allocations: 1.437 MB / 0.8397 GB, free: 15.5 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.009211/2.668, allocations: 2.865 MB / 0.8425 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007478/2.669, allocations: 205.1 kB / 0.8427 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.669, allocations: 0 / 0.8427 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/2.669, allocations: 77.33 kB / 0.8428 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/2.669, allocations: 78.86 kB / 0.8429 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/2.68, allocations: 3.815 MB / 0.8466 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/2.68, allocations: 0.7717 MB / 0.8474 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001643/2.68, allocations: 38.91 kB / 0.8474 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/2.68, allocations: 101.4 kB / 0.8475 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/2.68, allocations: 0 / 0.8475 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09233/2.773, allocations: 51.9 MB / 0.8982 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/16.22, allocations: 10.88 kB / 0.8982 GB, free: 4.602 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)