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: translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006584/0.006584, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001107/0.001107, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.615/1.615, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06537/0.06537, allocations: 10.97 MB / 280.9 MB, free: 10.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01734/0.01734, allocations: 4.239 MB / 334.6 MB, free: 29.01 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.001576/0.001576, allocations: 69.38 kB / 447.6 MB, free: 44.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 49.75 MB / 497.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.03731/0.1552, allocations: 32.68 MB / 0.5176 GB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.1793, allocations: 19.29 MB / 0.5364 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007827/0.1801, allocations: 7.938 kB / 0.5364 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.1811, allocations: 254.4 kB / 0.5367 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01473/0.1958, allocations: 4.622 MB / 0.5412 GB, free: 4.406 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.007338/0.2032, allocations: 2.345 MB / 0.5435 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.2048, allocations: 0.9426 MB / 0.5444 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.2052, allocations: 276.4 kB / 0.5447 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00925/0.2145, allocations: 3.654 MB / 0.5482 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007643/0.2222, allocations: 3.41 MB / 0.5516 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.2223, allocations: 36 kB / 0.5516 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/0.2396, allocations: 7.773 MB / 0.5592 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.24, allocations: 91.67 kB / 0.5593 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.2405, allocations: 219.1 kB / 0.5595 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01945/0.26, allocations: 4.84 MB / 0.5642 GB, free: 12.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.2601, allocations: 4 kB / 0.5642 GB, free: 12.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.2601, allocations: 0 / 0.5642 GB, free: 12.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.839e-05/0.2602, allocations: 0 / 0.5642 GB, free: 12.69 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.005225/0.2654, allocations: 1.349 MB / 0.5655 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.538e-05/0.2655, allocations: 8.031 kB / 0.5655 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.267, allocations: 128.6 kB / 0.5657 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.2676, allocations: 335.7 kB / 0.566 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.2677, allocations: 33.38 kB / 0.566 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.2678, allocations: 36.12 kB / 0.566 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.2693, allocations: 0.6424 MB / 0.5667 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2694, allocations: 4 kB / 0.5667 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.2694, allocations: 19.94 kB / 0.5667 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.2694, allocations: 8 kB / 0.5667 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.271, allocations: 0.5601 MB / 0.5672 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.2746, allocations: 3.078 MB / 0.5703 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.2764, allocations: 0.567 MB / 0.5708 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.2768, allocations: 187.3 kB / 0.571 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2894/0.5662, allocations: 17.02 MB / 0.5876 GB, free: 77.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.5663, allocations: 37.81 kB / 0.5876 GB, free: 77.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.5663, allocations: 0 / 0.5876 GB, free: 77.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.00368/0.57, allocations: 0.9917 MB / 0.5886 GB, free: 76.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.57, allocations: 184.1 kB / 0.5888 GB, free: 76.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.5704, allocations: 290.7 kB / 0.5891 GB, free: 76.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5704, allocations: 31.67 kB / 0.5891 GB, free: 76.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.5706, allocations: 200.6 kB / 0.5893 GB, free: 76.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.5707, allocations: 106.6 kB / 0.5894 GB, free: 76.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.5708, allocations: 85.52 kB / 0.5895 GB, free: 76.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.5709, allocations: 340.2 kB / 0.5898 GB, free: 76.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.5713, allocations: 143.1 kB / 0.5899 GB, free: 76.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.5717, allocations: 268.8 kB / 0.5902 GB, free: 75.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.5725, allocations: 401.8 kB / 0.5906 GB, free: 75.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5726, allocations: 3.562 kB / 0.5906 GB, free: 75.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001016/0.5736, allocations: 0.4943 MB / 0.5911 GB, free: 75.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.5736, allocations: 6.219 kB / 0.5911 GB, free: 75.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5736, allocations: 4.125 kB / 0.5911 GB, free: 75.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.5759, allocations: 365.2 kB / 0.5914 GB, free: 75.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.5763, allocations: 91.86 kB / 0.5915 GB, free: 75.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005808/0.5769, allocations: 0.6839 MB / 0.5922 GB, free: 74.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.5772, allocations: 54.05 kB / 0.5922 GB, free: 74.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.5773, allocations: 30.36 kB / 0.5923 GB, free: 74.7 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.0001627/0.5774, allocations: 168.6 kB / 0.5924 GB, free: 74.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.5775, allocations: 37.84 kB / 0.5925 GB, free: 74.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.5795, allocations: 1.467 MB / 0.5939 GB, free: 73.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.5795, allocations: 13.56 kB / 0.5939 GB, free: 73.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5795, allocations: 2.344 kB / 0.5939 GB, free: 73.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5795, allocations: 1.25 kB / 0.5939 GB, free: 73.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.5806, allocations: 0.8018 MB / 0.5947 GB, free: 73.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5807, allocations: 9.719 kB / 0.5947 GB, free: 73.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.5809, allocations: 64.91 kB / 0.5948 GB, free: 73.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.5836, allocations: 0.5233 MB / 0.5953 GB, free: 73.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.5836, allocations: 7.969 kB / 0.5953 GB, free: 73.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007447/0.5844, allocations: 0.9077 MB / 0.5962 GB, free: 72.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5844, allocations: 0 / 0.5962 GB, free: 72.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.5857, allocations: 1.151 MB / 0.5973 GB, free: 71.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.5858, allocations: 159.5 kB / 0.5974 GB, free: 71.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.5859, allocations: 54.64 kB / 0.5975 GB, free: 71.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.5863, allocations: 23.55 kB / 0.5975 GB, free: 71.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.5864, allocations: 39.33 kB / 0.5975 GB, free: 71.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.5864, allocations: 15.8 kB / 0.5976 GB, free: 71.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005126/0.5869, allocations: 0.5226 MB / 0.5981 GB, free: 70.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5869, allocations: 0 / 0.5981 GB, free: 70.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00302/0.59, allocations: 1.153 MB / 0.5992 GB, free: 70.86 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.00406/0.594, allocations: 1.35 MB / 0.6005 GB, free: 70.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.5951, allocations: 456 kB / 0.601 GB, free: 70.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5952, allocations: 0 / 0.601 GB, free: 70.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005563/0.5957, allocations: 337 kB / 0.6013 GB, free: 70.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.597, allocations: 206.9 kB / 0.6015 GB, free: 69.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.5988, allocations: 1.297 MB / 0.6027 GB, free: 69.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.5991, allocations: 0.9231 MB / 0.6036 GB, free: 68.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.5994, allocations: 180.4 kB / 0.6038 GB, free: 68.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.5994, allocations: 35.44 kB / 0.6038 GB, free: 68.11 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5995, allocations: 0 / 0.6038 GB, free: 68.11 MB / 414.1 MB Notification: Performance of Templates: time 0.04088/0.6403, allocations: 42.45 MB / 0.6453 GB, free: 25.71 MB / 414.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.makefile (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 & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.pipe 2>&1)