Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_PrescribedPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_PrescribedPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0658/0.0658, allocations: 10.98 MB / 280.7 MB, free: 10.22 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01771/0.01771, allocations: 4.238 MB / 334.4 MB, free: 29.12 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.89 kB / 396.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2879, allocations: 49.73 MB / 446.4 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.029/0.317, allocations: 32.7 MB / 479.1 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.3363, allocations: 19.28 MB / 498.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/0.337, allocations: 4 kB / 498.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.3379, allocations: 254.5 kB / 498.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.3511, allocations: 4.617 MB / 0.4915 GB, free: 10.09 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/FluidDynamics/Components/Machines/BaseClasses/PartialPump.mo:24:15-28:40:writable] Warning: Pure function 'TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.prescribedPump.powerCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeClassSections: time 0.007/0.3581, allocations: 2.349 MB / 0.4938 GB, free: 7.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.3597, allocations: 0.9388 MB / 0.4947 GB, free: 6.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005505/0.3603, allocations: 275.7 kB / 0.4949 GB, free: 6.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008903/0.3692, allocations: 3.654 MB / 0.4985 GB, free: 2.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007998/0.3772, allocations: 3.418 MB / 0.5018 GB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.3775, allocations: 36 kB / 0.5019 GB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/0.3942, allocations: 7.597 MB / 0.5093 GB, free: 7.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.3945, allocations: 99.72 kB / 0.5094 GB, free: 7.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.3949, allocations: 231 kB / 0.5096 GB, free: 7.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.4075, allocations: 4.826 MB / 0.5143 GB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4076, allocations: 3.938 kB / 0.5143 GB, free: 2.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4076, allocations: 0 / 0.5143 GB, free: 2.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4076, allocations: 3.938 kB / 0.5143 GB, free: 2.539 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.005605/0.4132, allocations: 1.303 MB / 0.5156 GB, free: 1.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4133, allocations: 8.031 kB / 0.5156 GB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.698e-05/0.4133, allocations: 74.72 kB / 0.5157 GB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4144, allocations: 132.4 kB / 0.5158 GB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.4149, allocations: 327.6 kB / 0.5161 GB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.4149, allocations: 33.38 kB / 0.5162 GB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.415, allocations: 31.94 kB / 0.5162 GB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.4165, allocations: 0.6385 MB / 0.5168 GB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4166, allocations: 0 / 0.5168 GB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.4166, allocations: 12 kB / 0.5168 GB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4166, allocations: 12 kB / 0.5168 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.4182, allocations: 0.5562 MB / 0.5174 GB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.4218, allocations: 3.082 MB / 0.5204 GB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.4237, allocations: 0.5697 MB / 0.5209 GB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.4241, allocations: 187.3 kB / 0.5211 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03347/0.4576, allocations: 16.97 MB / 0.5377 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4577, allocations: 46.55 kB / 0.5377 GB, free: 8.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.4577, allocations: 0 / 0.5377 GB, free: 8.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.003502/0.4612, allocations: 0.9871 MB / 0.5387 GB, free: 7.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.4613, allocations: 188.3 kB / 0.5389 GB, free: 6.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.4617, allocations: 290.9 kB / 0.5392 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.4617, allocations: 33.7 kB / 0.5392 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.4618, allocations: 192.1 kB / 0.5394 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.4619, allocations: 102.5 kB / 0.5395 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.4621, allocations: 85.59 kB / 0.5396 GB, free: 6.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4622, allocations: 342.7 kB / 0.5399 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.4626, allocations: 143.8 kB / 0.54 GB, free: 5.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.4633, allocations: 273 kB / 0.5403 GB, free: 5.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.4643, allocations: 407.1 kB / 0.5407 GB, free: 4.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4644, allocations: 7.938 kB / 0.5407 GB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001159/0.4655, allocations: 493.8 kB / 0.5411 GB, free: 4.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4656, allocations: 8 kB / 0.5412 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4656, allocations: 4 kB / 0.5412 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.4681, allocations: 372.9 kB / 0.5415 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.4685, allocations: 83.81 kB / 0.5416 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000671/0.4692, allocations: 0.6912 MB / 0.5423 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.4695, allocations: 63.58 kB / 0.5423 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.4696, allocations: 23.98 kB / 0.5423 GB, free: 3.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 (boundary1.medium.phase,boundary.medium.phase,boundary1.state.phase,boundary.state.phase,prescribedPump.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.4698, allocations: 161.7 kB / 0.5425 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.4699, allocations: 27.72 kB / 0.5425 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.472, allocations: 1.477 MB / 0.544 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.472, allocations: 11.98 kB / 0.544 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.472, allocations: 0 / 0.544 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.472, allocations: 0 / 0.544 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009831/0.473, allocations: 0.811 MB / 0.5448 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.473, allocations: 0 / 0.5448 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.4733, allocations: 59.94 kB / 0.5448 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.4758, allocations: 0.5266 MB / 0.5453 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.4758, allocations: 11.94 kB / 0.5454 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008418/0.4767, allocations: 0.9152 MB / 0.5463 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.4767, allocations: 4 kB / 0.5463 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.4783, allocations: 1.129 MB / 0.5474 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.4785, allocations: 164.3 kB / 0.5475 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.4786, allocations: 55.28 kB / 0.5476 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.479, allocations: 19.98 kB / 0.5476 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.4791, allocations: 35.89 kB / 0.5476 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.4792, allocations: 19.98 kB / 0.5476 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006125/0.4798, allocations: 0.5147 MB / 0.5481 GB, free: 13.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4798, allocations: 0 / 0.5481 GB, free: 13.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00354/0.4834, allocations: 1.136 MB / 0.5493 GB, free: 11.92 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,boundary.medium.phase,boundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00682/0.4902, allocations: 2.826 MB / 0.552 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.4915, allocations: 464.9 kB / 0.5525 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4916, allocations: 0 / 0.5525 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.4923, allocations: 343 kB / 0.5528 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.4937, allocations: 211.5 kB / 0.553 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.5039, allocations: 5.941 MB / 0.5588 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.5045, allocations: 0.9186 MB / 0.5597 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004181/0.5049, allocations: 187 kB / 0.5599 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.5052, allocations: 239.3 kB / 0.5601 GB, free: 0.582 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5052, allocations: 0 / 0.5601 GB, free: 0.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2923/0.7976, allocations: 49.24 MB / 0.6082 GB, free: 103.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.64, allocations: 3.703 kB / 0.6082 GB, free: 103.1 MB / 414.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_PrescribedPump.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.pipe 2>&1)