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.8481/0.8481, allocations: 153.8 MB / 170.2 MB, free: 13.77 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.0004923/0.0004923, allocations: 16.03 kB / 246.3 MB, free: 14.88 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06212/0.06262, allocations: 33.34 MB / 279.7 MB, free: 15.11 MB / 238.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.721/1.783, allocations: 307.4 MB / 0.5733 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04624/1.829, allocations: 34.67 MB / 0.6072 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/1.83, allocations: 4 kB / 0.6072 GB, free: 7.598 MB / 494.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.000439/1.83, allocations: 127.3 kB / 0.6073 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/1.83, allocations: 123.1 kB / 0.6074 GB, free: 7.352 MB / 494.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.02482/1.855, allocations: 9.771 MB / 0.6169 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006354/1.856, allocations: 406.2 kB / 0.6173 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/1.856, allocations: 104.6 kB / 0.6174 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/1.856, allocations: 179.2 kB / 0.6176 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/1.857, allocations: 135.4 kB / 0.6177 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/1.857, allocations: 20 kB / 0.6178 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03038/1.887, allocations: 17.9 MB / 0.6352 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/1.887, allocations: 55.77 kB / 0.6353 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/1.887, allocations: 155.2 kB / 0.6354 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02002/1.907, allocations: 8.478 MB / 0.6437 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.907, allocations: 0 / 0.6437 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.264e-06/1.907, allocations: 0 / 0.6437 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.256e-06/1.907, allocations: 4 kB / 0.6437 GB, free: 2.102 MB / 0.5137 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.004541/1.912, allocations: 1.541 MB / 0.6452 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.912, allocations: 12.03 kB / 0.6452 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.329e-05/1.912, allocations: 66.47 kB / 0.6453 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/1.912, allocations: 35.75 kB / 0.6453 GB, free: 392 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/1.912, allocations: 243 kB / 0.6456 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/1.912, allocations: 20.56 kB / 0.6456 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/1.912, allocations: 20 kB / 0.6456 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/1.913, allocations: 336.2 kB / 0.6459 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.913, allocations: 4 kB / 0.6459 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/1.913, allocations: 8 kB / 0.6459 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/1.913, allocations: 23.86 kB / 0.646 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/1.913, allocations: 217.2 kB / 0.6462 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04018/1.954, allocations: 18.12 MB / 0.6639 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/1.954, allocations: 174.5 kB / 0.664 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/1.954, allocations: 100.8 kB / 0.6641 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3418/2.296, allocations: 82.87 MB / 0.7451 GB, free: 192 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/2.296, allocations: 37.34 kB / 0.7451 GB, free: 192 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/2.296, allocations: 1.312 kB / 0.7451 GB, free: 192 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.003871/2.3, allocations: 0.9318 MB / 0.746 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/2.3, allocations: 53.22 kB / 0.7461 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/2.3, allocations: 251.2 kB / 0.7463 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/2.3, allocations: 35.86 kB / 0.7463 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/2.3, allocations: 154.7 kB / 0.7465 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/2.3, allocations: 145.3 kB / 0.7466 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/2.3, allocations: 58.31 kB / 0.7467 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/2.3, allocations: 341.9 kB / 0.747 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/2.301, allocations: 97 kB / 0.7471 GB, free: 191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/2.301, allocations: 148 kB / 0.7472 GB, free: 191 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/2.301, allocations: 266.5 kB / 0.7475 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/2.301, allocations: 3.375 kB / 0.7475 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002142/2.303, allocations: 0.5981 MB / 0.7481 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/2.303, allocations: 7.312 kB / 0.7481 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/2.303, allocations: 4 kB / 0.7481 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007561/2.304, allocations: 225.7 kB / 0.7483 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/2.304, allocations: 16.94 kB / 0.7483 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006724/2.305, allocations: 0.7335 MB / 0.749 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/2.305, allocations: 37.33 kB / 0.7491 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/2.305, allocations: 12.28 kB / 0.7491 GB, free: 190.1 MB / 0.5919 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.0001014/2.305, allocations: 149.4 kB / 0.7492 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/2.305, allocations: 35.81 kB / 0.7493 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007587/2.306, allocations: 0.7579 MB / 0.75 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003963/2.306, allocations: 288.5 kB / 0.7503 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/2.306, allocations: 0 / 0.7503 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/2.306, allocations: 9.953 kB / 0.7503 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/2.307, allocations: 0.8644 MB / 0.7511 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/2.307, allocations: 0 / 0.7511 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/2.307, allocations: 23.52 kB / 0.7511 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005846/2.308, allocations: 196.7 kB / 0.7513 GB, free: 189 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/2.308, allocations: 4.562 kB / 0.7513 GB, free: 189 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005713/2.308, allocations: 0.7594 MB / 0.7521 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/2.308, allocations: 0 / 0.7521 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/2.309, allocations: 420.2 kB / 0.7525 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/2.309, allocations: 127 kB / 0.7526 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/2.309, allocations: 6.109 kB / 0.7526 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/2.309, allocations: 11.73 kB / 0.7526 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/2.309, allocations: 18.58 kB / 0.7526 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/2.309, allocations: 5.219 kB / 0.7526 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001877/2.309, allocations: 256 kB / 0.7529 GB, free: 188 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/2.309, allocations: 0 / 0.7529 GB, free: 188 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002511/2.312, allocations: 1.211 MB / 0.7541 GB, free: 188 MB / 0.5919 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.004548/2.316, allocations: 2.598 MB / 0.7566 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006138/2.317, allocations: 288.7 kB / 0.7569 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.317, allocations: 7.875 kB / 0.7569 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/2.317, allocations: 144.8 kB / 0.757 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/2.318, allocations: 126.5 kB / 0.7571 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/2.325, allocations: 3.896 MB / 0.7609 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/2.325, allocations: 0.7831 MB / 0.7617 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.034e-05/2.325, allocations: 29.98 kB / 0.7617 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/2.325, allocations: 102.2 kB / 0.7618 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/2.325, allocations: 0 / 0.7618 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07041/2.396, allocations: 49.13 MB / 0.8098 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/16.63, allocations: 18.44 kB / 0.8098 GB, free: 135.1 MB / 0.5919 GB " [Timeout remaining time 643] (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: 18.502506480988814] Failed to read output from testmodel.py, exit status != 0: 16.900298590000602 16.910344696 15.000775252 Calling exit ...