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.008973/0.008973, allocations: 100.5 kB / 15.73 MB, free: 6.043 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.001465/0.001465, allocations: 190 kB / 16.67 MB, free: 5.977 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.75/1.75, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07053/0.07053, allocations: 10.98 MB / 280.9 MB, free: 10.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01743/0.01743, allocations: 4.246 MB / 334.6 MB, free: 29.04 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.001415/0.001416, allocations: 67.7 kB / 447.6 MB, free: 44.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.13, allocations: 49.74 MB / 497.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.03762/0.1676, allocations: 32.69 MB / 0.5176 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0298/0.1975, allocations: 19.29 MB / 0.5364 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008684/0.1984, allocations: 7.938 kB / 0.5364 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.1998, allocations: 250.5 kB / 0.5367 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02416/0.2241, allocations: 4.619 MB / 0.5412 GB, free: 4.531 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.01261/0.2368, allocations: 2.353 MB / 0.5435 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.2389, allocations: 0.9426 MB / 0.5444 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008481/0.2398, allocations: 268.4 kB / 0.5447 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/0.2555, allocations: 3.666 MB / 0.5482 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01399/0.2695, allocations: 3.41 MB / 0.5516 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.2699, allocations: 36 kB / 0.5516 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03011/0.3, allocations: 7.769 MB / 0.5592 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.3004, allocations: 99.66 kB / 0.5593 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005749/0.301, allocations: 219.1 kB / 0.5595 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02011/0.3211, allocations: 4.827 MB / 0.5642 GB, free: 12.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.3212, allocations: 4 kB / 0.5642 GB, free: 12.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.3212, allocations: 0 / 0.5642 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.209e-05/0.3212, allocations: 0 / 0.5642 GB, free: 12.8 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.00596/0.3272, allocations: 1.306 MB / 0.5655 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3272, allocations: 8.031 kB / 0.5655 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3285, allocations: 128.5 kB / 0.5656 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/0.3294, allocations: 335.4 kB / 0.5659 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.3295, allocations: 29.38 kB / 0.566 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.3296, allocations: 40.06 kB / 0.566 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.3315, allocations: 0.6352 MB / 0.5666 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3315, allocations: 3.938 kB / 0.5666 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.3316, allocations: 20 kB / 0.5666 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3316, allocations: 8 kB / 0.5667 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.3334, allocations: 0.5523 MB / 0.5672 GB, free: 9.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.3379, allocations: 3.082 MB / 0.5702 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.3399, allocations: 0.561 MB / 0.5707 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.3404, allocations: 187.3 kB / 0.5709 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3686/0.709, allocations: 17.03 MB / 0.5876 GB, free: 54.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.7091, allocations: 45.25 kB / 0.5876 GB, free: 53.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.976e-06/0.7091, allocations: 0 / 0.5876 GB, free: 53.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.00413/0.7133, allocations: 0.9842 MB / 0.5886 GB, free: 53.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.7134, allocations: 184.1 kB / 0.5887 GB, free: 53.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.7139, allocations: 284 kB / 0.589 GB, free: 53.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.7139, allocations: 32.2 kB / 0.589 GB, free: 53.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.7141, allocations: 200.4 kB / 0.5892 GB, free: 53.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/0.7142, allocations: 103.5 kB / 0.5893 GB, free: 53.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.7144, allocations: 86.25 kB / 0.5894 GB, free: 53.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7145, allocations: 345.5 kB / 0.5897 GB, free: 52.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.715, allocations: 134.6 kB / 0.5899 GB, free: 52.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.7155, allocations: 273.6 kB / 0.5901 GB, free: 52.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/0.7165, allocations: 403.1 kB / 0.5905 GB, free: 52.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.7165, allocations: 1.125 kB / 0.5905 GB, free: 52.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001253/0.7178, allocations: 0.492 MB / 0.591 GB, free: 52.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.7178, allocations: 8.438 kB / 0.591 GB, free: 52.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.7179, allocations: 8.391 kB / 0.591 GB, free: 52.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.7204, allocations: 363.8 kB / 0.5914 GB, free: 52.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.7208, allocations: 90.38 kB / 0.5914 GB, free: 52.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007765/0.7216, allocations: 0.69 MB / 0.5921 GB, free: 52.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.722, allocations: 57.69 kB / 0.5922 GB, free: 52.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.7221, allocations: 24.84 kB / 0.5922 GB, free: 52.04 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.0002705/0.7224, allocations: 165.1 kB / 0.5924 GB, free: 51.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.7225, allocations: 37.31 kB / 0.5924 GB, free: 51.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.7252, allocations: 1.45 MB / 0.5938 GB, free: 51.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.7253, allocations: 13.95 kB / 0.5938 GB, free: 51.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.7253, allocations: 4.531 kB / 0.5938 GB, free: 51.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.7253, allocations: 1.094 kB / 0.5938 GB, free: 51.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.7265, allocations: 0.8076 MB / 0.5946 GB, free: 51.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.7265, allocations: 4.812 kB / 0.5946 GB, free: 51.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.7268, allocations: 57.69 kB / 0.5947 GB, free: 51.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.7294, allocations: 0.5269 MB / 0.5952 GB, free: 51.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.7295, allocations: 7.094 kB / 0.5952 GB, free: 51.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008293/0.7303, allocations: 0.9082 MB / 0.5961 GB, free: 50.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7303, allocations: 3.938 kB / 0.5961 GB, free: 50.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.732, allocations: 1.137 MB / 0.5972 GB, free: 50.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.7322, allocations: 162 kB / 0.5973 GB, free: 50.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.7324, allocations: 51.47 kB / 0.5974 GB, free: 50.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.7328, allocations: 25.73 kB / 0.5974 GB, free: 50.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.7329, allocations: 33.39 kB / 0.5975 GB, free: 50.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.7329, allocations: 15.84 kB / 0.5975 GB, free: 50.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.7337, allocations: 0.5173 MB / 0.598 GB, free: 50.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7337, allocations: 4 kB / 0.598 GB, free: 50.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005146/0.7388, allocations: 1.14 MB / 0.5991 GB, free: 50.11 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.0045/0.7433, allocations: 1.345 MB / 0.6004 GB, free: 49.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.7446, allocations: 461 kB / 0.6008 GB, free: 49.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7446, allocations: 0 / 0.6008 GB, free: 49.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.7452, allocations: 343.8 kB / 0.6012 GB, free: 49.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.7465, allocations: 208.7 kB / 0.6014 GB, free: 49.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.7484, allocations: 1.254 MB / 0.6026 GB, free: 49.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.7487, allocations: 0.9285 MB / 0.6035 GB, free: 48.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000368/0.7491, allocations: 193.2 kB / 0.6037 GB, free: 48.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.573e-05/0.7492, allocations: 36 kB / 0.6037 GB, free: 48.64 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7492, allocations: 3.969 kB / 0.6037 GB, free: 48.64 MB / 414.1 MB Notification: Performance of Templates: time 0.04825/0.7975, allocations: 42.43 MB / 0.6452 GB, free: 10.93 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)