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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8396/0.8396, allocations: 153.8 MB / 172.7 MB, free: 4.945 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005196, allocations: 11.98 kB / 249.8 MB, free: 4.461 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1793, allocations: 33.36 MB / 283.2 MB, free: 1.828 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.929/2.108, allocations: 307.7 MB / 0.577 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2297/2.338, allocations: 191 MB / 0.7635 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/2.338, allocations: 11.94 kB / 0.7636 GB, free: 5.578 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 master/Fluid/BoundaryConditions/SourceP.mo:59:3-60: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 master/Fluid/BoundaryConditions/SinkP.mo:47:3-48: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.0001861/2.339, allocations: 56.09 kB / 0.7636 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/2.339, allocations: 118.9 kB / 0.7637 GB, free: 5.406 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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 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.03798/2.377, allocations: 11.65 MB / 0.7751 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008558/2.378, allocations: 442.5 kB / 0.7755 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/2.378, allocations: 181.4 kB / 0.7757 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/2.378, allocations: 179.3 kB / 0.7759 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/2.379, allocations: 195.1 kB / 0.7761 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/2.379, allocations: 40 kB / 0.7761 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04303/2.422, allocations: 19.88 MB / 0.7955 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/2.422, allocations: 95.67 kB / 0.7956 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003373/2.422, allocations: 210.9 kB / 0.7958 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03321/2.456, allocations: 9.774 MB / 0.8053 GB, free: 10.73 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/2.456, allocations: 0 / 0.8053 GB, free: 10.73 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.845e-06/2.456, allocations: 0 / 0.8053 GB, free: 10.73 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.349e-05/2.456, allocations: 0 / 0.8053 GB, free: 10.73 MB / 0.67 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.007922/2.463, allocations: 1.826 MB / 0.8071 GB, free: 8.863 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/2.464, allocations: 12.03 kB / 0.8071 GB, free: 8.852 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.876e-05/2.464, allocations: 70.53 kB / 0.8072 GB, free: 8.773 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/2.464, allocations: 51.72 kB / 0.8073 GB, free: 8.723 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/2.464, allocations: 267.9 kB / 0.8075 GB, free: 8.438 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/2.464, allocations: 25 kB / 0.8075 GB, free: 8.414 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/2.464, allocations: 36 kB / 0.8076 GB, free: 8.379 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/2.465, allocations: 384.8 kB / 0.8079 GB, free: 7.977 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/2.465, allocations: 4 kB / 0.8079 GB, free: 7.973 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/2.465, allocations: 16.94 kB / 0.808 GB, free: 7.957 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/2.465, allocations: 12 kB / 0.808 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/2.466, allocations: 258.4 kB / 0.8082 GB, free: 7.695 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008491/2.474, allocations: 3.833 MB / 0.812 GB, free: 3.664 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/2.476, allocations: 304.3 kB / 0.8122 GB, free: 3.359 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/2.476, allocations: 56.83 kB / 0.8123 GB, free: 3.301 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3966/2.873, allocations: 45.4 MB / 0.8566 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/2.873, allocations: 36.62 kB / 0.8567 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.255e-06/2.873, allocations: 0 / 0.8567 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.004724/2.877, allocations: 0.8388 MB / 0.8575 GB, free: 297 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/2.878, allocations: 55.16 kB / 0.8575 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/2.878, allocations: 372.2 kB / 0.8579 GB, free: 296.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/2.878, allocations: 28.45 kB / 0.8579 GB, free: 296.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/2.878, allocations: 244.7 kB / 0.8582 GB, free: 296.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/2.878, allocations: 55.77 kB / 0.8582 GB, free: 296.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/2.878, allocations: 73.44 kB / 0.8583 GB, free: 296.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/2.878, allocations: 341.8 kB / 0.8586 GB, free: 296.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/2.878, allocations: 61.45 kB / 0.8587 GB, free: 296.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/2.878, allocations: 165.6 kB / 0.8588 GB, free: 296 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/2.879, allocations: 241.9 kB / 0.8591 GB, free: 295.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.879, allocations: 3.625 kB / 0.8591 GB, free: 295.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002184/2.881, allocations: 0.5565 MB / 0.8596 GB, free: 295.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/2.881, allocations: 11.94 kB / 0.8596 GB, free: 295.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/2.881, allocations: 224 / 0.8596 GB, free: 295.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007282/2.882, allocations: 165.3 kB / 0.8598 GB, free: 295.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/2.882, allocations: 39.17 kB / 0.8598 GB, free: 295.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006282/2.882, allocations: 0.6943 MB / 0.8605 GB, free: 294.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/2.883, allocations: 39.92 kB / 0.8605 GB, free: 294.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/2.883, allocations: 10.56 kB / 0.8605 GB, free: 294.6 MB / 0.6856 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.0001558/2.883, allocations: 172.1 kB / 0.8607 GB, free: 294.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/2.883, allocations: 35.77 kB / 0.8607 GB, free: 294.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/2.885, allocations: 467 kB / 0.8612 GB, free: 294 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/2.885, allocations: 4 kB / 0.8612 GB, free: 294 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/2.885, allocations: 0 / 0.8612 GB, free: 294 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/2.885, allocations: 3.938 kB / 0.8612 GB, free: 294 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/2.885, allocations: 322.6 kB / 0.8615 GB, free: 293.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/2.885, allocations: 3.984 kB / 0.8615 GB, free: 293.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/2.885, allocations: 10.91 kB / 0.8615 GB, free: 293.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006399/2.886, allocations: 152.6 kB / 0.8617 GB, free: 293.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/2.886, allocations: 7.375 kB / 0.8617 GB, free: 293.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005363/2.887, allocations: 0.6812 MB / 0.8623 GB, free: 292.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.887, allocations: 0 / 0.8623 GB, free: 292.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/2.889, allocations: 477.2 kB / 0.8628 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/2.889, allocations: 57.25 kB / 0.8628 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/2.889, allocations: 2.109 kB / 0.8628 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/2.889, allocations: 4 kB / 0.8628 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/2.889, allocations: 15.22 kB / 0.8629 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/2.889, allocations: 4 kB / 0.8629 GB, free: 292.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002392/2.889, allocations: 264 kB / 0.8631 GB, free: 292.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.889, allocations: 0 / 0.8631 GB, free: 292.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003957/2.893, allocations: 1.457 MB / 0.8645 GB, free: 291.1 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.00757/2.901, allocations: 2.868 MB / 0.8673 GB, free: 288.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007374/2.901, allocations: 183.6 kB / 0.8675 GB, free: 288.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/2.901, allocations: 0 / 0.8675 GB, free: 288.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/2.902, allocations: 87.89 kB / 0.8676 GB, free: 288.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/2.902, allocations: 79.27 kB / 0.8677 GB, free: 288.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009036/2.911, allocations: 3.903 MB / 0.8715 GB, free: 284.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/2.911, allocations: 0.7873 MB / 0.8723 GB, free: 284.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001446/2.912, allocations: 39.66 kB / 0.8723 GB, free: 284 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/2.912, allocations: 108.5 kB / 0.8724 GB, free: 284 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/2.912, allocations: 0 / 0.8724 GB, free: 284 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08677/2.998, allocations: 52.31 MB / 0.9235 GB, free: 232.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/17.82, allocations: 9.781 kB / 0.9235 GB, free: 232.5 MB / 0.6856 GB " [Timeout remaining time 642] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.829179379000152] Failed to read output from testmodel.py, exit status != 0: 18.13895334300014 18.147997264 15.69011636 Calling exit ...