Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.5853/0.5853, 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.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 216.7 MB, free: 8.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.505e-05, allocations: 5.5 kB / 216.7 MB, free: 8.617 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.TestCentrifugalPump13): time 1.02/1.02, allocations: 254.4 MB / 471.1 MB, free: 8.809 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.279/1.299, allocations: 27.71 MB / 498.8 MB, free: 1.016 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/1.3, allocations: 3.844 kB / 498.8 MB, free: 1.016 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). Notification: Performance of NFTyping.typeComponents: time 0.0004025/1.3, allocations: 109.4 kB / 498.9 MB, free: 1.016 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/1.3, allocations: 116.3 kB / 499 MB, free: 1.016 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.02083/1.321, allocations: 8.661 MB / 0.4958 GB, free: 296 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007026/1.322, allocations: 459.6 kB / 0.4962 GB, free: 144 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/1.322, allocations: 164.9 kB / 0.4964 GB, free: 84 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/1.323, allocations: 279 kB / 0.4966 GB, free: 8 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/1.323, allocations: 144.5 kB / 0.4968 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/1.323, allocations: 31.97 kB / 0.4968 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02466/1.347, allocations: 14.31 MB / 0.5108 GB, free: 8.113 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002536/1.348, allocations: 196.4 kB / 0.511 GB, free: 7.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/1.348, allocations: 156.7 kB / 0.5111 GB, free: 7.781 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02018/1.368, allocations: 10.04 MB / 0.5209 GB, free: 14.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/1.368, allocations: 5.328 kB / 0.5209 GB, free: 14.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.368, allocations: 4 kB / 0.5209 GB, free: 14.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/1.368, allocations: 1.125 kB / 0.5209 GB, free: 14.2 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004596/1.373, allocations: 1.83 MB / 0.5227 GB, free: 12.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.373, allocations: 11.22 kB / 0.5227 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.796e-05/1.373, allocations: 75.05 kB / 0.5228 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/1.373, allocations: 91.89 kB / 0.5229 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/1.373, allocations: 371.8 kB / 0.5232 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/1.373, allocations: 28.59 kB / 0.5233 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/1.373, allocations: 31.06 kB / 0.5233 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/1.374, allocations: 483.7 kB / 0.5238 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.374, allocations: 0 / 0.5238 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/1.374, allocations: 11.94 kB / 0.5238 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/1.374, allocations: 17.25 kB / 0.5238 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/1.375, allocations: 489.5 kB / 0.5243 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/1.376, allocations: 1.545 MB / 0.5258 GB, free: 9.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/1.377, allocations: 0.5044 MB / 0.5263 GB, free: 8.672 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/1.377, allocations: 194.2 kB / 0.5264 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05201/1.429, allocations: 22.61 MB / 0.5485 GB, free: 2.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.429, allocations: 46.31 kB / 0.5486 GB, free: 1.969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.429e-06/1.429, allocations: 0 / 0.5486 GB, free: 1.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.002581/1.432, allocations: 0.9708 MB / 0.5495 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/1.432, allocations: 60.23 kB / 0.5496 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.433, allocations: 0.8257 MB / 0.5504 GB, free: 92 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.433, allocations: 29.7 kB / 0.5504 GB, free: 56 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/1.434, allocations: 397.2 kB / 0.5508 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.434, allocations: 124.9 kB / 0.5509 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/1.434, allocations: 74 kB / 0.551 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.434, allocations: 325.9 kB / 0.5513 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/1.434, allocations: 208.7 kB / 0.5515 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/1.435, allocations: 268.7 kB / 0.5517 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/1.436, allocations: 476.7 kB / 0.5522 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/1.436, allocations: 0 / 0.5522 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001202/1.437, allocations: 0.6838 MB / 0.5529 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/1.437, allocations: 4 kB / 0.5529 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.437, allocations: 0 / 0.5529 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/1.44, allocations: 0.6451 MB / 0.5535 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/1.44, allocations: 55.23 kB / 0.5536 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009664/1.441, allocations: 0.7759 MB / 0.5543 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/1.441, allocations: 60.39 kB / 0.5544 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/1.441, allocations: 12 kB / 0.5544 GB, free: 11.94 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 (sinkP.C.a,sourceP.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 (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000367/1.442, allocations: 248.7 kB / 0.5546 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/1.442, allocations: 85.31 kB / 0.5547 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/1.443, allocations: 0.795 MB / 0.5555 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000876/1.444, allocations: 0.5868 MB / 0.5561 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.444, allocations: 3.984 kB / 0.5561 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.444, allocations: 4 kB / 0.5561 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/1.446, allocations: 1.372 MB / 0.5574 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.446, allocations: 3.938 kB / 0.5574 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/1.446, allocations: 59.14 kB / 0.5575 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009934/1.447, allocations: 390.1 kB / 0.5578 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/1.447, allocations: 12.55 kB / 0.5578 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006087/1.448, allocations: 0.8006 MB / 0.5586 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.448, allocations: 4.875 kB / 0.5586 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/1.449, allocations: 0.7706 MB / 0.5594 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/1.449, allocations: 107.2 kB / 0.5595 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/1.449, allocations: 13.05 kB / 0.5595 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/1.45, allocations: 23.98 kB / 0.5595 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/1.45, allocations: 23.33 kB / 0.5595 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/1.45, allocations: 15.98 kB / 0.5596 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009996/1.451, allocations: 0.577 MB / 0.5601 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.71e-07/1.451, allocations: 0 / 0.5601 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003259/1.454, allocations: 1.166 MB / 0.5613 GB, free: 4.816 MB / 0.4948 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 (24): * Single equations (assignments): 23 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005251/1.459, allocations: 2.999 MB / 0.5642 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.46, allocations: 0.5768 MB / 0.5648 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.46, allocations: 320 / 0.5648 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/1.461, allocations: 303.3 kB / 0.565 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/1.461, allocations: 89.52 kB / 0.5651 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/1.468, allocations: 6.692 MB / 0.5717 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.468, allocations: 385.4 kB / 0.572 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001502/1.468, allocations: 42.62 kB / 0.5721 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/1.468, allocations: 256.4 kB / 0.5723 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of SimCode: time 1.472e-06/1.468, allocations: 0 / 0.5723 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07261/1.541, allocations: 51.81 MB / 0.6229 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.4, allocations: 7.172 kB / 0.6229 GB, free: 6.078 MB / 0.5573 GB " [Timeout remaining time 647] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13_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_TestCentrifugalPump13.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.05387268960476] Failed to read output from testmodel.py, exit status != 0: 12.810532652772963 12.706695709 11.336445618 Calling exit ...