Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.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.8879/0.8879, allocations: 153.8 MB / 172.7 MB, free: 4.953 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.Examples.SimpleExamples.TestCentrifugalPump9,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005197/0.0005197, allocations: 15.92 kB / 249.8 MB, free: 4.477 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1817, allocations: 33.36 MB / 283.2 MB, free: 1.844 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.Examples.SimpleExamples.TestCentrifugalPump9): time 1.937/2.118, allocations: 307.6 MB / 0.577 GB, free: 16.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03343/2.152, allocations: 31.52 MB / 0.6077 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/2.152, allocations: 2.938 kB / 0.6077 GB, free: 0.5312 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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 master/WaterSteam/Machines/CentrifugalPump.mo:120:3-122: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 master/WaterSteam/Machines/CentrifugalPump.mo:126:3-130:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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 master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16: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 master/ElectroMechanics/BoundaryConditions/SourceMechanicalPower.mo:5:3-9:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004853/2.152, allocations: 134.6 kB / 0.6079 GB, free: 476 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/2.153, allocations: 120.8 kB / 0.608 GB, free: 400 kB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02577/2.179, allocations: 8.685 MB / 0.6165 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/2.18, allocations: 418.3 kB / 0.6169 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/2.18, allocations: 158.4 kB / 0.617 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/2.18, allocations: 192.5 kB / 0.6172 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/2.181, allocations: 167.6 kB / 0.6174 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/2.181, allocations: 28.25 kB / 0.6174 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03652/2.217, allocations: 15.17 MB / 0.6322 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/2.217, allocations: 179.3 kB / 0.6324 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000388/2.218, allocations: 281.9 kB / 0.6326 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0201/2.238, allocations: 7.952 MB / 0.6404 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/2.238, allocations: 0 / 0.6404 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/2.238, allocations: 0 / 0.6404 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.054e-05/2.238, allocations: 0 / 0.6404 GB, free: 4.52 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004654/2.243, allocations: 1.815 MB / 0.6422 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/2.243, allocations: 8.781 kB / 0.6422 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.634e-05/2.243, allocations: 76.28 kB / 0.6423 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/2.243, allocations: 91.39 kB / 0.6423 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/2.243, allocations: 381.3 kB / 0.6427 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/2.243, allocations: 20.66 kB / 0.6427 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/2.243, allocations: 32.72 kB / 0.6428 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/2.244, allocations: 0.5546 MB / 0.6433 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/2.244, allocations: 0.8438 kB / 0.6433 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/2.244, allocations: 13.59 kB / 0.6433 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/2.244, allocations: 16 kB / 0.6433 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009426/2.245, allocations: 0.5841 MB / 0.6439 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/2.248, allocations: 2.236 MB / 0.6461 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/2.249, allocations: 0.7492 MB / 0.6468 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/2.25, allocations: 261 kB / 0.6471 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08044/2.33, allocations: 22.53 MB / 0.6691 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/2.33, allocations: 38.78 kB / 0.6691 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/2.33, allocations: 0 / 0.6691 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.00548/2.336, allocations: 1.736 MB / 0.6708 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/2.336, allocations: 59.88 kB / 0.6708 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/2.337, allocations: 0.7984 MB / 0.6716 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/2.337, allocations: 29.7 kB / 0.6717 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/2.337, allocations: 368.7 kB / 0.672 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/2.337, allocations: 135.9 kB / 0.6721 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/2.337, allocations: 61.69 kB / 0.6722 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001465/2.338, allocations: 322 kB / 0.6725 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/2.338, allocations: 241.1 kB / 0.6727 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/2.338, allocations: 301 kB / 0.673 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/2.339, allocations: 0.5637 MB / 0.6736 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/2.339, allocations: 0 / 0.6736 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001459/2.341, allocations: 0.927 MB / 0.6745 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/2.341, allocations: 8 kB / 0.6745 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/2.341, allocations: 3.984 kB / 0.6745 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005097/2.346, allocations: 1.005 MB / 0.6755 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/2.346, allocations: 15.98 kB / 0.6755 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/2.348, allocations: 1.794 MB / 0.6772 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/2.348, allocations: 52.73 kB / 0.6773 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/2.348, allocations: 8 kB / 0.6773 GB, free: 14.36 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 {(5,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003537/2.349, allocations: 243 kB / 0.6775 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/2.349, allocations: 87.44 kB / 0.6776 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/2.351, allocations: 1.095 MB / 0.6787 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00149/2.352, allocations: 0.9178 MB / 0.6796 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/2.352, allocations: 0 / 0.6796 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/2.352, allocations: 0 / 0.6796 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/2.355, allocations: 2.023 MB / 0.6815 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/2.355, allocations: 4 kB / 0.6816 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/2.356, allocations: 19.98 kB / 0.6816 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/2.358, allocations: 0.7393 MB / 0.6823 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/2.358, allocations: 13.05 kB / 0.6823 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/2.36, allocations: 1.821 MB / 0.6841 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.36, allocations: 0 / 0.6841 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/2.362, allocations: 1.134 MB / 0.6852 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/2.362, allocations: 104.7 kB / 0.6853 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/2.363, allocations: 8 kB / 0.6853 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/2.363, allocations: 20.73 kB / 0.6853 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/2.363, allocations: 23.95 kB / 0.6853 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/2.363, allocations: 12 kB / 0.6854 GB, free: 5.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000695/2.364, allocations: 0.5653 MB / 0.6859 GB, free: 5.422 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.364, allocations: 0 / 0.6859 GB, free: 5.422 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002945/2.366, allocations: 1.146 MB / 0.687 GB, free: 4.273 MB / 0.545 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 (15): * Single equations (assignments): 14 * 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 {(5,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007396/2.374, allocations: 3.199 MB / 0.6901 GB, free: 1.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001512/2.375, allocations: 0.6954 MB / 0.6908 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.375, allocations: 0 / 0.6908 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008079/2.376, allocations: 394.1 kB / 0.6912 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/2.377, allocations: 96.33 kB / 0.6913 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/2.389, allocations: 7.681 MB / 0.6988 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/2.39, allocations: 0.9771 MB / 0.6998 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001191/2.39, allocations: 29.38 kB / 0.6998 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/2.39, allocations: 259.3 kB / 0.7 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/2.39, allocations: 3.938 kB / 0.7 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/2.496, allocations: 52.8 MB / 0.7516 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/18.51, allocations: 2.25 kB / 0.7516 GB, free: 2.684 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9_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_Examples_SimpleExamples_TestCentrifugalPump9.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.826785983000036] Failed to read output from testmodel.py, exit status != 0: 19.057606260000057 19.069487329 16.828847644 Calling exit ...