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.0112/0.0112, allocations: 99.52 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.542/1.542, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06715/0.06715, allocations: 10.97 MB / 280.9 MB, free: 10.13 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01725/0.01725, allocations: 4.235 MB / 334.6 MB, free: 29.02 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.001451/0.001451, allocations: 72.5 kB / 447.1 MB, free: 44.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1028, allocations: 49.75 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.03904/0.1419, allocations: 32.69 MB / 0.5171 GB, free: 13.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.1665, allocations: 19.29 MB / 0.5359 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000724/0.1673, allocations: 7.938 kB / 0.5359 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1684, allocations: 254.5 kB / 0.5362 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.1839, allocations: 4.634 MB / 0.5407 GB, free: 4.891 MB / 382.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.007003/0.1909, allocations: 2.356 MB / 0.543 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1927, allocations: 0.9465 MB / 0.5439 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.1933, allocations: 272.5 kB / 0.5442 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008825/0.2021, allocations: 3.666 MB / 0.5478 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007415/0.2096, allocations: 3.402 MB / 0.5511 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2097, allocations: 36 kB / 0.5511 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0164/0.2262, allocations: 7.769 MB / 0.5587 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.2265, allocations: 95.72 kB / 0.5588 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005317/0.2271, allocations: 227.1 kB / 0.559 GB, free: 2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.242, allocations: 4.833 MB / 0.5638 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.242, allocations: 0 / 0.5638 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.242, allocations: 0 / 0.5638 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.2421, allocations: 0 / 0.5638 GB, free: 13.16 MB / 414.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.004239/0.2463, allocations: 1.349 MB / 0.5651 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2464, allocations: 8.031 kB / 0.5651 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.515e-05/0.2465, allocations: 74.72 kB / 0.5651 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.2476, allocations: 136.5 kB / 0.5653 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.2482, allocations: 335.7 kB / 0.5656 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.2482, allocations: 29.12 kB / 0.5656 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.2483, allocations: 36 kB / 0.5657 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.2506, allocations: 0.6445 MB / 0.5663 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.2506, allocations: 0 / 0.5663 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.2507, allocations: 12 kB / 0.5663 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.2507, allocations: 8 kB / 0.5663 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.2533, allocations: 0.5679 MB / 0.5669 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004795/0.2581, allocations: 3.078 MB / 0.5699 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.2601, allocations: 0.561 MB / 0.5704 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/0.2605, allocations: 187.3 kB / 0.5706 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.284/0.5446, allocations: 17.03 MB / 0.5872 GB, free: 77.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5446, allocations: 40.56 kB / 0.5873 GB, free: 77.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.5447, allocations: 0 / 0.5873 GB, free: 77.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.003811/0.5485, allocations: 0.9935 MB / 0.5882 GB, free: 77.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.5486, allocations: 184 kB / 0.5884 GB, free: 77.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.549, allocations: 288.3 kB / 0.5887 GB, free: 77.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.549, allocations: 31.02 kB / 0.5887 GB, free: 77.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.5491, allocations: 207 kB / 0.5889 GB, free: 77.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.5492, allocations: 102.7 kB / 0.589 GB, free: 77.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.5493, allocations: 81.02 kB / 0.5891 GB, free: 77.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.5494, allocations: 344.7 kB / 0.5894 GB, free: 76.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.5499, allocations: 137 kB / 0.5895 GB, free: 76.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.5504, allocations: 272.2 kB / 0.5898 GB, free: 76.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008435/0.5512, allocations: 401.7 kB / 0.5902 GB, free: 76.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5512, allocations: 3.969 kB / 0.5902 GB, free: 76.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001264/0.5525, allocations: 0.4995 MB / 0.5907 GB, free: 76.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.5526, allocations: 6.812 kB / 0.5907 GB, free: 76.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.5526, allocations: 4.531 kB / 0.5907 GB, free: 76.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.5552, allocations: 369.2 kB / 0.591 GB, free: 76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.5555, allocations: 79.69 kB / 0.5911 GB, free: 76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000603/0.5561, allocations: 0.6916 MB / 0.5918 GB, free: 75.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.5565, allocations: 54.08 kB / 0.5918 GB, free: 75.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.5566, allocations: 25.39 kB / 0.5919 GB, free: 75.38 MB / 414.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.0002107/0.5568, allocations: 175.4 kB / 0.592 GB, free: 75.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5569, allocations: 36.91 kB / 0.5921 GB, free: 75.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.5593, allocations: 1.458 MB / 0.5935 GB, free: 74.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.5593, allocations: 13.64 kB / 0.5935 GB, free: 74.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5593, allocations: 1.156 kB / 0.5935 GB, free: 74.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5593, allocations: 5.047 kB / 0.5935 GB, free: 74.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.5608, allocations: 0.8062 MB / 0.5943 GB, free: 73.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.5608, allocations: 4.672 kB / 0.5943 GB, free: 73.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.5612, allocations: 66.38 kB / 0.5944 GB, free: 73.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/0.5636, allocations: 0.517 MB / 0.5949 GB, free: 73.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.5637, allocations: 7.969 kB / 0.5949 GB, free: 73.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007051/0.5644, allocations: 0.9076 MB / 0.5958 GB, free: 72.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5644, allocations: 7.375 kB / 0.5958 GB, free: 72.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.566, allocations: 1.152 MB / 0.5969 GB, free: 72.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.5662, allocations: 158.1 kB / 0.5971 GB, free: 71.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.5663, allocations: 56.89 kB / 0.5971 GB, free: 71.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.5667, allocations: 27.66 kB / 0.5971 GB, free: 71.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.5668, allocations: 31.8 kB / 0.5972 GB, free: 71.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.5669, allocations: 15.56 kB / 0.5972 GB, free: 71.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005765/0.5674, allocations: 0.5176 MB / 0.5977 GB, free: 71.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5675, allocations: 0 / 0.5977 GB, free: 71.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003508/0.571, allocations: 1.152 MB / 0.5988 GB, free: 71.43 MB / 414.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.006479/0.5775, allocations: 2.836 MB / 0.6016 GB, free: 69.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.5787, allocations: 453.5 kB / 0.602 GB, free: 69.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5788, allocations: 0 / 0.602 GB, free: 69.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.5794, allocations: 346.4 kB / 0.6023 GB, free: 69.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.581, allocations: 214.3 kB / 0.6025 GB, free: 69.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009925/0.5909, allocations: 5.815 MB / 0.6082 GB, free: 63.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.5913, allocations: 0.9194 MB / 0.6091 GB, free: 62.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003502/0.5916, allocations: 186.7 kB / 0.6093 GB, free: 62.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.5918, allocations: 243.3 kB / 0.6095 GB, free: 61.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5919, allocations: 0 / 0.6095 GB, free: 61.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07709/0.6689, allocations: 49.28 MB / 0.6577 GB, free: 12.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.66, allocations: 15.81 kB / 0.6577 GB, free: 12.76 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)