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.5912/0.5912, allocations: 120.4 MB / 139.5 MB, free: 13.01 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.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 3.236e-06/3.236e-06, allocations: 0 / 216.7 MB, free: 8.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.677e-05, allocations: 2.281 kB / 216.7 MB, free: 8.637 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.TestCentrifugalPump9): time 1.056/1.056, allocations: 254.3 MB / 471.1 MB, free: 8.805 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3002/1.357, allocations: 27.7 MB / 498.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/1.357, allocations: 4.969 kB / 498.8 MB, free: 1.004 MB / 442.7 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.0004383/1.357, allocations: 107 kB / 498.9 MB, free: 1.004 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/1.358, allocations: 122.4 kB / 499 MB, free: 1.004 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.02206/1.38, allocations: 8.657 MB / 0.4958 GB, free: 268 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006396/1.38, allocations: 435.9 kB / 0.4962 GB, free: 120 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/1.381, allocations: 151.3 kB / 0.4963 GB, free: 68 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/1.381, allocations: 268.3 kB / 0.4966 GB, free: 0 / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/1.381, allocations: 134.7 kB / 0.4967 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/1.381, allocations: 28.88 kB / 0.4967 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02537/1.407, allocations: 14.29 MB / 0.5107 GB, free: 8.164 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/1.407, allocations: 185.5 kB / 0.5109 GB, free: 7.988 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/1.407, allocations: 152.2 kB / 0.511 GB, free: 7.848 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02106/1.428, allocations: 10.01 MB / 0.5208 GB, free: 14.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/1.428, allocations: 0 / 0.5208 GB, free: 14.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.428, allocations: 0 / 0.5208 GB, free: 14.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/1.428, allocations: 0 / 0.5208 GB, free: 14.3 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004496/1.433, allocations: 1.805 MB / 0.5226 GB, free: 12.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.433, allocations: 13.59 kB / 0.5226 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/1.433, allocations: 66.53 kB / 0.5226 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/1.433, allocations: 96.52 kB / 0.5227 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/1.433, allocations: 371 kB / 0.5231 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/1.433, allocations: 25.62 kB / 0.5231 GB, free: 11.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/1.433, allocations: 28 kB / 0.5231 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/1.434, allocations: 0.5506 MB / 0.5237 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.434, allocations: 2.625 kB / 0.5237 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/1.434, allocations: 19.88 kB / 0.5237 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/1.434, allocations: 12 kB / 0.5237 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005787/1.435, allocations: 0.5817 MB / 0.5243 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/1.436, allocations: 2.029 MB / 0.5263 GB, free: 8.617 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008289/1.437, allocations: 0.7515 MB / 0.527 GB, free: 7.867 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/1.437, allocations: 262.4 kB / 0.5272 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03829/1.476, allocations: 22.6 MB / 0.5493 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/1.476, allocations: 38.78 kB / 0.5493 GB, free: 1.109 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/1.476, allocations: 0 / 0.5493 GB, free: 1.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.003118/1.479, allocations: 1.737 MB / 0.551 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.479, allocations: 52.86 kB / 0.5511 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/1.479, allocations: 0.8061 MB / 0.5519 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/1.479, allocations: 33.7 kB / 0.5519 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/1.48, allocations: 361.9 kB / 0.5523 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/1.48, allocations: 130.1 kB / 0.5524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/1.48, allocations: 65.64 kB / 0.5524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.48, allocations: 322 kB / 0.5527 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/1.48, allocations: 251.6 kB / 0.553 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/1.481, allocations: 303.8 kB / 0.5533 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/1.481, allocations: 0.5534 MB / 0.5538 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.481, allocations: 0 / 0.5538 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008582/1.482, allocations: 0.924 MB / 0.5547 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.482, allocations: 8 kB / 0.5547 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.482, allocations: 0 / 0.5547 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/1.484, allocations: 1.015 MB / 0.5557 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/1.485, allocations: 12 kB / 0.5557 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/1.486, allocations: 1.779 MB / 0.5575 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/1.486, allocations: 47.67 kB / 0.5575 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/1.486, allocations: 12 kB / 0.5575 GB, free: 8.645 MB / 0.4948 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.00024/1.486, allocations: 250.3 kB / 0.5578 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/1.486, allocations: 83.44 kB / 0.5578 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/1.488, allocations: 1.104 MB / 0.5589 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008088/1.488, allocations: 0.9133 MB / 0.5598 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.488, allocations: 4 kB / 0.5598 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.488, allocations: 4.641 kB / 0.5598 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/1.49, allocations: 1.986 MB / 0.5618 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/1.49, allocations: 4 kB / 0.5618 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/1.49, allocations: 19.98 kB / 0.5618 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/1.492, allocations: 0.7428 MB / 0.5625 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/1.492, allocations: 8.594 kB / 0.5625 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/1.493, allocations: 1.816 MB / 0.5643 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.493, allocations: 1.219 kB / 0.5643 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.494, allocations: 1.129 MB / 0.5654 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/1.494, allocations: 111.2 kB / 0.5655 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/1.494, allocations: 4 kB / 0.5655 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.494, allocations: 17.05 kB / 0.5655 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/1.494, allocations: 19.95 kB / 0.5655 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/1.494, allocations: 12.61 kB / 0.5656 GB, free: 348 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004336/1.495, allocations: 0.5614 MB / 0.5661 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/1.495, allocations: 3.938 kB / 0.5661 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002894/1.498, allocations: 1.146 MB / 0.5672 GB, free: 14.63 MB / 0.5105 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.005667/1.503, allocations: 3.364 MB / 0.5705 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.504, allocations: 0.6951 MB / 0.5712 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.504, allocations: 0 / 0.5712 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/1.505, allocations: 391.9 kB / 0.5716 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/1.505, allocations: 92.81 kB / 0.5716 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/1.513, allocations: 7.67 MB / 0.5791 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/1.513, allocations: 385 kB / 0.5795 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.746e-05/1.513, allocations: 27.64 kB / 0.5795 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/1.513, allocations: 260.4 kB / 0.5798 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of SimCode: time 2.264e-06/1.513, allocations: 0 / 0.5798 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08234/1.596, allocations: 52.05 MB / 0.6306 GB, free: 14.14 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/12.65, allocations: 6.516 kB / 0.6306 GB, free: 14.13 MB / 0.573 GB " [Timeout remaining time 647] (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: 14.318278823047876] Failed to read output from testmodel.py, exit status != 0: 13.071904359385371 12.95985418 11.529663933 Calling exit ...