Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.8211/0.8211, allocations: 153.8 MB / 172.7 MB, free: 4.875 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.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005324, allocations: 11.98 kB / 249.8 MB, free: 4.367 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.177, allocations: 33.35 MB / 283.1 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.TestStaticCentrifugalPump1): time 1.837/2.014, allocations: 307.7 MB / 0.577 GB, free: 17.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03607/2.05, allocations: 30.53 MB / 0.6068 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/2.05, allocations: 2.812 kB / 0.6068 GB, free: 2.715 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62: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/StaticCentrifugalPump.mo:63:3-65: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/BoundaryConditions/SourceP.mo:30:3-31:45: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/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004882/2.051, allocations: 111.4 kB / 0.6069 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/2.051, allocations: 122.6 kB / 0.607 GB, free: 2.582 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.03041/2.082, allocations: 9.706 MB / 0.6165 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008146/2.083, allocations: 406.2 kB / 0.6169 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/2.083, allocations: 105.4 kB / 0.617 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/2.083, allocations: 181.3 kB / 0.6171 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/2.083, allocations: 123.4 kB / 0.6173 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/2.084, allocations: 20.66 kB / 0.6173 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03729/2.121, allocations: 16.75 MB / 0.6336 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/2.121, allocations: 51.78 kB / 0.6337 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/2.121, allocations: 135.3 kB / 0.6338 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02106/2.142, allocations: 8.478 MB / 0.6421 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/2.142, allocations: 0 / 0.6421 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/2.142, allocations: 0 / 0.6421 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.559e-05/2.142, allocations: 1.5 kB / 0.6421 GB, free: 2.645 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004419/2.147, allocations: 1.466 MB / 0.6435 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/2.147, allocations: 8.031 kB / 0.6435 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/2.147, allocations: 66.53 kB / 0.6436 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/2.147, allocations: 31.77 kB / 0.6436 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/2.147, allocations: 196.6 kB / 0.6438 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/2.147, allocations: 16.5 kB / 0.6438 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/2.147, allocations: 20 kB / 0.6438 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/2.148, allocations: 341.5 kB / 0.6442 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/2.148, allocations: 0 / 0.6442 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/2.148, allocations: 8 kB / 0.6442 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/2.148, allocations: 19.98 kB / 0.6442 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/2.148, allocations: 233.5 kB / 0.6444 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03603/2.184, allocations: 10.9 MB / 0.6551 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/2.185, allocations: 171.6 kB / 0.6552 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/2.185, allocations: 100.8 kB / 0.6553 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1464/2.331, allocations: 43.58 MB / 0.6979 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/2.331, allocations: 42.55 kB / 0.6979 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.983e-06/2.331, allocations: 0 / 0.6979 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004007/2.335, allocations: 0.8653 MB / 0.6988 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/2.335, allocations: 55.39 kB / 0.6988 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/2.336, allocations: 249.9 kB / 0.6991 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/2.336, allocations: 25.7 kB / 0.6991 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/2.336, allocations: 156.8 kB / 0.6992 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/2.336, allocations: 146.7 kB / 0.6994 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/2.336, allocations: 58.62 kB / 0.6994 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001493/2.336, allocations: 338.8 kB / 0.6998 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/2.336, allocations: 96.41 kB / 0.6998 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/2.337, allocations: 163.5 kB / 0.7 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/2.337, allocations: 277.3 kB / 0.7003 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.337, allocations: 0 / 0.7003 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002219/2.339, allocations: 0.596 MB / 0.7008 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/2.339, allocations: 4 kB / 0.7008 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/2.339, allocations: 4 kB / 0.7009 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/2.34, allocations: 222.6 kB / 0.7011 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/2.34, allocations: 14.28 kB / 0.7011 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008875/2.341, allocations: 0.748 MB / 0.7018 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/2.341, allocations: 32.72 kB / 0.7018 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/2.341, allocations: 12.03 kB / 0.7019 GB, free: 5.098 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000163/2.341, allocations: 138.8 kB / 0.702 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/2.341, allocations: 27.81 kB / 0.702 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/2.343, allocations: 0.7805 MB / 0.7028 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005116/2.343, allocations: 291 kB / 0.7031 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/2.343, allocations: 3.938 kB / 0.7031 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/2.343, allocations: 3.984 kB / 0.7031 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/2.344, allocations: 0.8073 MB / 0.7038 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/2.344, allocations: 0 / 0.7038 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/2.344, allocations: 20.98 kB / 0.7039 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/2.345, allocations: 195.8 kB / 0.7041 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/2.345, allocations: 11.98 kB / 0.7041 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008211/2.346, allocations: 0.7636 MB / 0.7048 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/2.346, allocations: 0 / 0.7048 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/2.346, allocations: 413.9 kB / 0.7052 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/2.347, allocations: 48.84 kB / 0.7053 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/2.347, allocations: 12.64 kB / 0.7053 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/2.347, allocations: 4 kB / 0.7053 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/2.347, allocations: 16.72 kB / 0.7053 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/2.347, allocations: 4 kB / 0.7053 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002769/2.347, allocations: 267 kB / 0.7055 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/2.347, allocations: 0 / 0.7055 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003047/2.35, allocations: 1.208 MB / 0.7067 GB, free: 15.93 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00594/2.356, allocations: 2.6 MB / 0.7093 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008049/2.357, allocations: 295 kB / 0.7095 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/2.357, allocations: 0 / 0.7095 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003398/2.357, allocations: 147.8 kB / 0.7097 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/2.358, allocations: 127.9 kB / 0.7098 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/2.367, allocations: 3.905 MB / 0.7136 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/2.367, allocations: 177 kB / 0.7138 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000121/2.367, allocations: 24.34 kB / 0.7138 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/2.367, allocations: 105 kB / 0.7139 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/2.367, allocations: 0 / 0.7139 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09446/2.462, allocations: 49.64 MB / 0.7624 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/17.05, allocations: 12.33 kB / 0.7624 GB, free: 7.508 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.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_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.228654889855534] Failed to read output from testmodel.py, exit status != 0: 17.602106295060366 17.613116214 15.468358 Calling exit ...