Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.5994/0.5994, allocations: 120.4 MB / 139.5 MB, free: 12.98 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.TestCentrifugalPump8,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 0 / 216.7 MB, free: 8.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.402e-05, allocations: 3.812 kB / 216.7 MB, free: 8.633 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.TestCentrifugalPump8): time 1.078/1.078, allocations: 254.4 MB / 471.1 MB, free: 8.762 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3084/1.386, allocations: 27.72 MB / 498.9 MB, free: 1.016 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/1.386, allocations: 1.719 kB / 498.9 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15: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.0004193/1.387, allocations: 112.8 kB / 499 MB, free: 1.016 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/1.387, allocations: 122 kB / 499.1 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.02358/1.41, allocations: 8.668 MB / 0.4959 GB, free: 272 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007767/1.411, allocations: 461.8 kB / 0.4963 GB, free: 116 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/1.412, allocations: 168 kB / 0.4965 GB, free: 60 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005058/1.412, allocations: 283.3 kB / 0.4967 GB, free: 0 / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/1.412, allocations: 134.8 kB / 0.4969 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/1.412, allocations: 31.47 kB / 0.4969 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0259/1.438, allocations: 14.29 MB / 0.5109 GB, free: 8.086 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/1.438, allocations: 194.2 kB / 0.511 GB, free: 7.902 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/1.439, allocations: 146.1 kB / 0.5112 GB, free: 7.766 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02141/1.46, allocations: 10.04 MB / 0.521 GB, free: 14.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.46, allocations: 0 / 0.521 GB, free: 14.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.46, allocations: 0 / 0.521 GB, free: 14.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/1.46, allocations: 3.219 kB / 0.521 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004575/1.465, allocations: 1.825 MB / 0.5228 GB, free: 12.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/1.465, allocations: 8.031 kB / 0.5228 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/1.465, allocations: 75.09 kB / 0.5228 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.465, allocations: 96.47 kB / 0.5229 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/1.465, allocations: 366.8 kB / 0.5233 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/1.465, allocations: 24.66 kB / 0.5233 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/1.465, allocations: 32.5 kB / 0.5233 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/1.466, allocations: 0.569 MB / 0.5239 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.466, allocations: 1.125 kB / 0.5239 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/1.466, allocations: 16.56 kB / 0.5239 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/1.466, allocations: 11.98 kB / 0.5239 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/1.467, allocations: 0.6085 MB / 0.5245 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/1.468, allocations: 2.052 MB / 0.5265 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/1.47, allocations: 0.7723 MB / 0.5273 GB, free: 7.648 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/1.47, allocations: 274.7 kB / 0.5275 GB, free: 7.379 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03948/1.509, allocations: 22.6 MB / 0.5496 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.509, allocations: 36.44 kB / 0.5496 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.454e-06/1.509, allocations: 0 / 0.5496 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.002622/1.512, allocations: 1.47 MB / 0.5511 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/1.512, allocations: 56.16 kB / 0.5511 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/1.513, allocations: 0.8101 MB / 0.5519 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.513, allocations: 29.7 kB / 0.552 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/1.513, allocations: 372.8 kB / 0.5523 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/1.513, allocations: 134.1 kB / 0.5524 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/1.513, allocations: 61.69 kB / 0.5525 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/1.513, allocations: 322 kB / 0.5528 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/1.514, allocations: 261.7 kB / 0.5531 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/1.514, allocations: 314 kB / 0.5533 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/1.514, allocations: 0.5899 MB / 0.5539 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.514, allocations: 0 / 0.5539 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009712/1.515, allocations: 0.8845 MB / 0.5548 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.515, allocations: 4 kB / 0.5548 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.515, allocations: 4 kB / 0.5548 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/1.518, allocations: 0.802 MB / 0.5556 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.518, allocations: 35.27 kB / 0.5556 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/1.519, allocations: 1.272 MB / 0.5569 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/1.519, allocations: 51.7 kB / 0.5569 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/1.519, allocations: 12.73 kB / 0.5569 GB, free: 9.355 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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002626/1.519, allocations: 250 kB / 0.5572 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/1.52, allocations: 91.33 kB / 0.5572 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.521, allocations: 1.029 MB / 0.5582 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008933/1.522, allocations: 0.8595 MB / 0.5591 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/1.522, allocations: 3.938 kB / 0.5591 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.522, allocations: 0.6562 kB / 0.5591 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/1.523, allocations: 1.815 MB / 0.5609 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.523, allocations: 4 kB / 0.5609 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/1.524, allocations: 47.16 kB / 0.5609 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/1.525, allocations: 0.5496 MB / 0.5614 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/1.525, allocations: 8 kB / 0.5615 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000927/1.526, allocations: 1.313 MB / 0.5627 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.526, allocations: 1.219 kB / 0.5627 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/1.527, allocations: 1.041 MB / 0.5638 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.527, allocations: 111.8 kB / 0.5639 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/1.527, allocations: 15.98 kB / 0.5639 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/1.527, allocations: 16.98 kB / 0.5639 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/1.527, allocations: 23.95 kB / 0.5639 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/1.527, allocations: 12 kB / 0.5639 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004498/1.528, allocations: 0.5653 MB / 0.5645 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/1.528, allocations: 0 / 0.5645 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002777/1.531, allocations: 1.154 MB / 0.5656 GB, free: 384 kB / 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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005298/1.536, allocations: 3.274 MB / 0.5688 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001006/1.537, allocations: 0.6971 MB / 0.5695 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.537, allocations: 320 / 0.5695 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/1.537, allocations: 390.3 kB / 0.5699 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/1.538, allocations: 94.67 kB / 0.5699 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008034/1.546, allocations: 7.659 MB / 0.5774 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.546, allocations: 389.4 kB / 0.5778 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001237/1.546, allocations: 29.84 kB / 0.5778 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/1.546, allocations: 268.4 kB / 0.5781 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/1.546, allocations: 0 / 0.5781 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07348/1.62, allocations: 52.05 MB / 0.6289 GB, free: 15.95 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.47, allocations: 10.73 kB / 0.6289 GB, free: 15.95 MB / 0.573 GB " [Timeout remaining time 647] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8_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_TestCentrifugalPump8.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.140332895331085] Failed to read output from testmodel.py, exit status != 0: 12.890847380273044 12.778519727 11.316397959 Calling exit ...