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.5792/0.5792, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 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 2.916e-06/2.916e-06, allocations: 0.5625 kB / 216.7 MB, free: 8.566 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.754e-05, allocations: 5.719 kB / 216.7 MB, free: 8.562 MB / 202.7 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.006/1.006, allocations: 254.4 MB / 471.1 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2879/1.294, allocations: 30.52 MB / 0.4899 GB, free: 1.027 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/1.294, allocations: 2.375 kB / 0.4899 GB, free: 1.027 MB / 442.7 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.0003115/1.294, allocations: 112 kB / 0.49 GB, free: 1.027 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/1.294, allocations: 133.5 kB / 0.4901 GB, free: 1.02 MB / 442.7 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.02021/1.315, allocations: 9.786 MB / 0.4997 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007573/1.315, allocations: 427.2 kB / 0.5001 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/1.316, allocations: 106.1 kB / 0.5002 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/1.316, allocations: 245.4 kB / 0.5004 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/1.316, allocations: 107.9 kB / 0.5005 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/1.316, allocations: 21.94 kB / 0.5005 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02338/1.34, allocations: 16.78 MB / 0.5169 GB, free: 3.129 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/1.34, allocations: 58.19 kB / 0.517 GB, free: 3.078 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/1.34, allocations: 102.5 kB / 0.5171 GB, free: 2.984 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02144/1.362, allocations: 10.84 MB / 0.5276 GB, free: 8.633 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.362, allocations: 0 / 0.5276 GB, free: 8.633 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.362, allocations: 0.5 kB / 0.5276 GB, free: 8.633 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/1.362, allocations: 0 / 0.5276 GB, free: 8.633 MB / 474.7 MB 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.003862/1.365, allocations: 1.459 MB / 0.5291 GB, free: 7.145 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.365, allocations: 13.83 kB / 0.5291 GB, free: 7.133 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/1.366, allocations: 68.27 kB / 0.5291 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/1.366, allocations: 35.77 kB / 0.5292 GB, free: 7.023 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/1.366, allocations: 190.8 kB / 0.5294 GB, free: 6.812 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/1.366, allocations: 16.5 kB / 0.5294 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/1.366, allocations: 23.25 kB / 0.5294 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/1.366, allocations: 337.6 kB / 0.5297 GB, free: 6.422 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.366, allocations: 3.938 kB / 0.5297 GB, free: 6.418 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/1.366, allocations: 15.88 kB / 0.5297 GB, free: 6.402 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/1.366, allocations: 11.98 kB / 0.5298 GB, free: 6.391 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/1.366, allocations: 225 kB / 0.53 GB, free: 6.168 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01727/1.384, allocations: 10.9 MB / 0.5406 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/1.384, allocations: 179.4 kB / 0.5408 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.384, allocations: 101.5 kB / 0.5409 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07084/1.455, allocations: 43.57 MB / 0.5834 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/1.455, allocations: 31.5 kB / 0.5835 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 3.186e-06/1.455, allocations: 0 / 0.5835 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.002575/1.458, allocations: 0.8637 MB / 0.5843 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.458, allocations: 63.28 kB / 0.5844 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/1.458, allocations: 261.8 kB / 0.5846 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.458, allocations: 29.7 kB / 0.5846 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/1.458, allocations: 159.8 kB / 0.5848 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/1.458, allocations: 136.4 kB / 0.5849 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/1.458, allocations: 57.69 kB / 0.585 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.458, allocations: 338.8 kB / 0.5853 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.458, allocations: 100.5 kB / 0.5854 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/1.459, allocations: 147.2 kB / 0.5855 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/1.459, allocations: 269.4 kB / 0.5858 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.459, allocations: 0 / 0.5858 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001277/1.46, allocations: 0.604 MB / 0.5864 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/1.46, allocations: 8 kB / 0.5864 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.46, allocations: 0 / 0.5864 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/1.461, allocations: 230.4 kB / 0.5866 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/1.461, allocations: 19.92 kB / 0.5866 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006769/1.461, allocations: 0.7329 MB / 0.5873 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/1.462, allocations: 39.7 kB / 0.5874 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/1.462, allocations: 8 kB / 0.5874 GB, free: 11.3 MB / 0.5261 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.0001541/1.462, allocations: 151.2 kB / 0.5875 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/1.462, allocations: 28.38 kB / 0.5876 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007564/1.463, allocations: 0.7763 MB / 0.5883 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003169/1.463, allocations: 292.5 kB / 0.5886 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.463, allocations: 4.438 kB / 0.5886 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.463, allocations: 8.516 kB / 0.5886 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/1.464, allocations: 0.7882 MB / 0.5894 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.464, allocations: 1.219 kB / 0.5894 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/1.464, allocations: 28.67 kB / 0.5894 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/1.464, allocations: 204.1 kB / 0.5896 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/1.464, allocations: 4 kB / 0.5896 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005367/1.465, allocations: 0.7598 MB / 0.5903 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.465, allocations: 0.7031 kB / 0.5903 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/1.465, allocations: 420.7 kB / 0.5907 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/1.465, allocations: 47.66 kB / 0.5908 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/1.465, allocations: 15.89 kB / 0.5908 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/1.465, allocations: 4 kB / 0.5908 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/1.465, allocations: 17 kB / 0.5908 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.465, allocations: 4 kB / 0.5908 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001916/1.466, allocations: 255.7 kB / 0.5911 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/1.466, allocations: 0 / 0.5911 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003258/1.469, allocations: 1.22 MB / 0.5923 GB, free: 6.125 MB / 0.5261 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.006404/1.475, allocations: 2.755 MB / 0.595 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007251/1.476, allocations: 301.8 kB / 0.5952 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.476, allocations: 0 / 0.5952 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/1.476, allocations: 130.3 kB / 0.5954 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/1.477, allocations: 130.8 kB / 0.5955 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/1.484, allocations: 3.903 MB / 0.5993 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/1.484, allocations: 185 kB / 0.5995 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001341/1.484, allocations: 23.98 kB / 0.5995 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/1.484, allocations: 104.5 kB / 0.5996 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.713e-06/1.484, allocations: 0 / 0.5996 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07286/1.557, allocations: 49.94 MB / 0.6484 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.673/11.23, allocations: 9.859 kB / 0.6484 GB, free: 13.11 MB / 0.5886 GB " [Timeout remaining time 648] (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: 12.99744896311313] Failed to read output from testmodel.py, exit status != 0: 11.605213541537523 11.760630033 10.396874501 Calling exit ...