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.00163/0.00163, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001827/0.001827, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07032/0.07032, allocations: 10.96 MB / 281.5 MB, free: 1.02 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02065/0.02065, allocations: 4.237 MB / 335.3 MB, free: 11.15 MB / 286.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.001434/0.001434, allocations: 74.66 kB / 448.2 MB, free: 32.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07441/0.07586, allocations: 49.74 MB / 498 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.2067/0.2826, allocations: 32.69 MB / 0.5182 GB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.3051, allocations: 19.29 MB / 0.5371 GB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005574/0.3057, allocations: 3.906 kB / 0.5371 GB, free: 5.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.3067, allocations: 257.2 kB / 0.5373 GB, free: 5.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.3201, allocations: 4.618 MB / 0.5418 GB, free: 2.328 MB / 366.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.007352/0.3274, allocations: 2.356 MB / 0.5441 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.3289, allocations: 0.9413 MB / 0.5451 GB, free: 88 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.3294, allocations: 264.7 kB / 0.5453 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008492/0.3379, allocations: 3.666 MB / 0.5489 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007301/0.3453, allocations: 3.411 MB / 0.5522 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.3454, allocations: 36.34 kB / 0.5523 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.3609, allocations: 7.768 MB / 0.5598 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.3611, allocations: 99.72 kB / 0.5599 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.3616, allocations: 227 kB / 0.5601 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.3721, allocations: 4.826 MB / 0.5649 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3722, allocations: 4 kB / 0.5649 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3722, allocations: 0 / 0.5649 GB, free: 2.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.3722, allocations: 0 / 0.5649 GB, free: 2.07 MB / 382.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.003883/0.3761, allocations: 1.299 MB / 0.5661 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3761, allocations: 8.031 kB / 0.5661 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.3773, allocations: 136.4 kB / 0.5663 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.3779, allocations: 335.4 kB / 0.5666 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.3779, allocations: 29.38 kB / 0.5666 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.378, allocations: 32.38 kB / 0.5666 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.3797, allocations: 0.6345 MB / 0.5673 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3797, allocations: 10.7 kB / 0.5673 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.3798, allocations: 16 kB / 0.5673 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3798, allocations: 12 kB / 0.5673 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.3815, allocations: 0.5562 MB / 0.5678 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.3854, allocations: 3.062 MB / 0.5708 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3873, allocations: 0.5635 MB / 0.5714 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.3878, allocations: 191.3 kB / 0.5716 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03555/0.4234, allocations: 17.04 MB / 0.5882 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.4234, allocations: 38.56 kB / 0.5883 GB, free: 7.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.4234, allocations: 0 / 0.5883 GB, free: 7.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.003913/0.4274, allocations: 0.9827 MB / 0.5892 GB, free: 6.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.4275, allocations: 187.9 kB / 0.5894 GB, free: 6.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.4278, allocations: 283.2 kB / 0.5897 GB, free: 6.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.4279, allocations: 37.7 kB / 0.5897 GB, free: 6.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.4281, allocations: 200 kB / 0.5899 GB, free: 5.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.4281, allocations: 98.62 kB / 0.59 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.4283, allocations: 89.53 kB / 0.5901 GB, free: 5.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4284, allocations: 334.8 kB / 0.5904 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.4289, allocations: 138.1 kB / 0.5905 GB, free: 5.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.4294, allocations: 277 kB / 0.5908 GB, free: 4.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009264/0.4303, allocations: 415.3 kB / 0.5912 GB, free: 4.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4303, allocations: 4 kB / 0.5912 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001346/0.4317, allocations: 497.8 kB / 0.5917 GB, free: 3.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4317, allocations: 8 kB / 0.5917 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4317, allocations: 4 kB / 0.5917 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/0.4344, allocations: 368.8 kB / 0.592 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.4348, allocations: 85.61 kB / 0.5921 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000767/0.4355, allocations: 0.6927 MB / 0.5928 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.4359, allocations: 59.5 kB / 0.5928 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.436, allocations: 20 kB / 0.5929 GB, free: 2.703 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.4362, allocations: 169.8 kB / 0.593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.4364, allocations: 33.75 kB / 0.593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.4386, allocations: 1.451 MB / 0.5945 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.4387, allocations: 23.86 kB / 0.5945 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4387, allocations: 0 / 0.5945 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4387, allocations: 3.984 kB / 0.5945 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.4398, allocations: 0.8111 MB / 0.5953 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4398, allocations: 0 / 0.5953 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.4401, allocations: 64 kB / 0.5953 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/0.4428, allocations: 0.5213 MB / 0.5959 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.4428, allocations: 8 kB / 0.5959 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009336/0.4438, allocations: 0.9089 MB / 0.5968 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4438, allocations: 4 kB / 0.5968 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.4455, allocations: 1.138 MB / 0.5979 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.4457, allocations: 160.3 kB / 0.598 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4458, allocations: 51.38 kB / 0.5981 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.4462, allocations: 23.97 kB / 0.5981 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.4463, allocations: 42.47 kB / 0.5981 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.4464, allocations: 16 kB / 0.5981 GB, free: 13.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006248/0.447, allocations: 0.5108 MB / 0.5986 GB, free: 12.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.447, allocations: 0 / 0.5986 GB, free: 12.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003193/0.4502, allocations: 1.14 MB / 0.5998 GB, free: 11.49 MB / 430.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.005197/0.4554, allocations: 1.347 MB / 0.6011 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.4567, allocations: 457 kB / 0.6015 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4567, allocations: 0 / 0.6015 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.4575, allocations: 347 kB / 0.6018 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.459, allocations: 199.7 kB / 0.602 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4611, allocations: 1.306 MB / 0.6033 GB, free: 7.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.4616, allocations: 0.9108 MB / 0.6042 GB, free: 6.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4617, allocations: 39.44 kB / 0.6042 GB, free: 6.848 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4617, allocations: 0 / 0.6042 GB, free: 6.848 MB / 430.1 MB Notification: Performance of Templates: time 0.04039/0.5021, allocations: 28.03 MB / 0.6316 GB, free: 10.81 MB / 462.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)