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.8699/0.8699, allocations: 153.8 MB / 172.7 MB, free: 4.891 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.0005212/0.0005212, allocations: 11.97 kB / 249.8 MB, free: 4.379 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1834, allocations: 33.36 MB / 283.2 MB, free: 1.738 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.884/2.068, allocations: 307.6 MB / 0.577 GB, free: 17.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02985/2.098, allocations: 27.71 MB / 0.604 GB, free: 4.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/2.098, allocations: 3.375 kB / 0.604 GB, free: 4.516 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.0003988/2.098, allocations: 104.9 kB / 0.6041 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/2.098, allocations: 113.9 kB / 0.6042 GB, free: 4.402 MB / 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.02154/2.12, allocations: 8.586 MB / 0.6126 GB, free: 76 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007481/2.121, allocations: 419.6 kB / 0.613 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/2.121, allocations: 150.6 kB / 0.6132 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/2.121, allocations: 193.2 kB / 0.6133 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/2.122, allocations: 150.8 kB / 0.6135 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-05/2.122, allocations: 28.91 kB / 0.6135 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03134/2.153, allocations: 14.27 MB / 0.6275 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/2.153, allocations: 183.3 kB / 0.6276 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/2.154, allocations: 216.4 kB / 0.6278 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01971/2.173, allocations: 7.966 MB / 0.6356 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/2.173, allocations: 0 / 0.6356 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.815e-06/2.173, allocations: 4 kB / 0.6356 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.107e-05/2.173, allocations: 0 / 0.6356 GB, free: 9.348 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.004681/2.178, allocations: 1.802 MB / 0.6374 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/2.178, allocations: 12.59 kB / 0.6374 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.469e-05/2.178, allocations: 66.53 kB / 0.6375 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/2.178, allocations: 96.55 kB / 0.6375 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/2.179, allocations: 378.9 kB / 0.6379 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/2.179, allocations: 20.66 kB / 0.6379 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/2.179, allocations: 33.62 kB / 0.638 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008472/2.18, allocations: 0.5459 MB / 0.6385 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/2.18, allocations: 3.938 kB / 0.6385 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/2.18, allocations: 12.62 kB / 0.6385 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/2.18, allocations: 12.5 kB / 0.6385 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000902/2.181, allocations: 0.5842 MB / 0.6391 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/2.183, allocations: 2.021 MB / 0.6411 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/2.184, allocations: 0.7553 MB / 0.6418 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/2.185, allocations: 261 kB / 0.642 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07639/2.261, allocations: 22.6 MB / 0.6641 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/2.261, allocations: 39.8 kB / 0.6642 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.325e-06/2.261, allocations: 3.938 kB / 0.6642 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.0053/2.266, allocations: 1.751 MB / 0.6659 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/2.267, allocations: 55.88 kB / 0.6659 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/2.268, allocations: 0.8022 MB / 0.6667 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/2.268, allocations: 30.83 kB / 0.6667 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/2.268, allocations: 368.8 kB / 0.6671 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/2.268, allocations: 130.8 kB / 0.6672 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/2.268, allocations: 61.66 kB / 0.6673 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001524/2.268, allocations: 322 kB / 0.6676 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/2.269, allocations: 243.9 kB / 0.6678 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/2.269, allocations: 301 kB / 0.6681 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/2.27, allocations: 0.5523 MB / 0.6686 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/2.27, allocations: 0 / 0.6686 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0014/2.271, allocations: 0.9308 MB / 0.6695 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/2.271, allocations: 4 kB / 0.6695 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/2.271, allocations: 4 kB / 0.6696 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004641/2.276, allocations: 1.011 MB / 0.6705 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/2.276, allocations: 17.44 kB / 0.6706 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/2.278, allocations: 1.782 MB / 0.6723 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/2.278, allocations: 51.69 kB / 0.6723 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/2.278, allocations: 16.55 kB / 0.6724 GB, free: 3.379 MB / 0.5294 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.0003175/2.279, allocations: 241.7 kB / 0.6726 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/2.279, allocations: 87.44 kB / 0.6727 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/2.281, allocations: 1.091 MB / 0.6737 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001445/2.282, allocations: 0.9231 MB / 0.6746 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/2.282, allocations: 0 / 0.6746 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/2.282, allocations: 4.609 kB / 0.6746 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/2.285, allocations: 1.987 MB / 0.6766 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/2.285, allocations: 0 / 0.6766 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/2.285, allocations: 23.98 kB / 0.6766 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/2.288, allocations: 0.742 MB / 0.6773 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/2.288, allocations: 16.83 kB / 0.6773 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/2.29, allocations: 1.805 MB / 0.6791 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/2.29, allocations: 0 / 0.6791 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/2.292, allocations: 1.131 MB / 0.6802 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/2.292, allocations: 107.2 kB / 0.6803 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/2.292, allocations: 8 kB / 0.6803 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/2.292, allocations: 19.92 kB / 0.6803 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/2.292, allocations: 23.95 kB / 0.6804 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/2.292, allocations: 12 kB / 0.6804 GB, free: 11.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000652/2.293, allocations: 0.562 MB / 0.6809 GB, free: 10.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/2.293, allocations: 0 / 0.6809 GB, free: 10.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002668/2.295, allocations: 1.146 MB / 0.682 GB, free: 9.336 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.006632/2.302, allocations: 3.199 MB / 0.6852 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001436/2.303, allocations: 0.6984 MB / 0.6859 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.303, allocations: 0 / 0.6859 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007624/2.304, allocations: 395.8 kB / 0.6862 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/2.305, allocations: 94.33 kB / 0.6863 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/2.316, allocations: 7.682 MB / 0.6938 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/2.316, allocations: 381.2 kB / 0.6942 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001023/2.316, allocations: 24.72 kB / 0.6942 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/2.317, allocations: 263.3 kB / 0.6945 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/2.317, allocations: 4 kB / 0.6945 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/2.417, allocations: 51.74 MB / 0.745 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/17.5, allocations: 0 / 0.745 GB, free: 9.406 MB / 0.6075 GB " [Timeout remaining time 642] (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: 19.720672280993313] Failed to read output from testmodel.py, exit status != 0: 17.86630955990404 18.102108362 15.926135502 Calling exit ...