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.005648/0.005647, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001534/0.001534, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.578/1.578, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07047/0.07047, allocations: 10.98 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.0202/0.0202, allocations: 4.239 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.00213/0.00213, allocations: 75.72 kB / 447.1 MB, free: 44.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.0945, allocations: 49.75 MB / 496.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.0384/0.1329, allocations: 32.69 MB / 0.5171 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02758/0.1606, allocations: 19.29 MB / 0.5359 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007135/0.1613, allocations: 11.94 kB / 0.536 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.1625, allocations: 250.5 kB / 0.5362 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.1755, allocations: 4.621 MB / 0.5407 GB, free: 4.922 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.006746/0.1822, allocations: 2.335 MB / 0.543 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.1841, allocations: 0.9504 MB / 0.5439 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/0.1847, allocations: 272.5 kB / 0.5442 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009298/0.194, allocations: 3.662 MB / 0.5478 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008039/0.2021, allocations: 3.418 MB / 0.5511 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.2023, allocations: 36 kB / 0.5511 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.2212, allocations: 7.768 MB / 0.5587 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.2215, allocations: 95.73 kB / 0.5588 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003732/0.2219, allocations: 219.1 kB / 0.559 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.2359, allocations: 4.833 MB / 0.5637 GB, free: 13.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.236, allocations: 4 kB / 0.5637 GB, free: 13.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.236, allocations: 4 kB / 0.5637 GB, free: 13.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.236, allocations: 0 / 0.5637 GB, free: 13.19 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.004012/0.24, allocations: 1.341 MB / 0.565 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2401, allocations: 8.031 kB / 0.5651 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.2402, allocations: 74.72 kB / 0.5651 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.2412, allocations: 140.6 kB / 0.5653 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.2418, allocations: 331.6 kB / 0.5656 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.2419, allocations: 33.38 kB / 0.5656 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.2419, allocations: 31.94 kB / 0.5656 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.2436, allocations: 0.6424 MB / 0.5663 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2436, allocations: 0 / 0.5663 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.2436, allocations: 16 kB / 0.5663 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.2437, allocations: 12 kB / 0.5663 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.2454, allocations: 0.5562 MB / 0.5668 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.2496, allocations: 3.082 MB / 0.5698 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.2516, allocations: 0.5649 MB / 0.5704 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.2521, allocations: 179.3 kB / 0.5706 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2877/0.5398, allocations: 17.03 MB / 0.5872 GB, free: 54.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.5399, allocations: 43.59 kB / 0.5872 GB, free: 54.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.474e-06/0.5399, allocations: 0 / 0.5872 GB, free: 54.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.00385/0.5437, allocations: 0.9814 MB / 0.5882 GB, free: 54.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.5439, allocations: 195.9 kB / 0.5884 GB, free: 53.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.5442, allocations: 284.6 kB / 0.5887 GB, free: 53.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.5442, allocations: 31.42 kB / 0.5887 GB, free: 53.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.5444, allocations: 205 kB / 0.5889 GB, free: 53.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.5444, allocations: 102.9 kB / 0.589 GB, free: 53.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.5446, allocations: 80.97 kB / 0.5891 GB, free: 53.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.5447, allocations: 340 kB / 0.5894 GB, free: 53.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.5451, allocations: 138.6 kB / 0.5895 GB, free: 53.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.5456, allocations: 278.1 kB / 0.5898 GB, free: 53.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.5464, allocations: 401.5 kB / 0.5902 GB, free: 53.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5465, allocations: 2.188 kB / 0.5902 GB, free: 53.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001125/0.5476, allocations: 0.4904 MB / 0.5906 GB, free: 52.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5476, allocations: 6.688 kB / 0.5907 GB, free: 52.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5476, allocations: 9.375 kB / 0.5907 GB, free: 52.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.5502, allocations: 367.3 kB / 0.591 GB, free: 52.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.5506, allocations: 93.69 kB / 0.5911 GB, free: 52.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006031/0.5512, allocations: 0.6816 MB / 0.5918 GB, free: 52.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.5515, allocations: 68.05 kB / 0.5918 GB, free: 52.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.5516, allocations: 25.55 kB / 0.5919 GB, free: 52.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.0001992/0.5518, allocations: 158.8 kB / 0.592 GB, free: 52.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.5519, allocations: 40.75 kB / 0.592 GB, free: 52.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.554, allocations: 1.463 MB / 0.5935 GB, free: 52.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.5541, allocations: 13.2 kB / 0.5935 GB, free: 52.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5541, allocations: 2 kB / 0.5935 GB, free: 52.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5541, allocations: 1.062 kB / 0.5935 GB, free: 52.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5552, allocations: 0.8218 MB / 0.5943 GB, free: 51.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5552, allocations: 2.75 kB / 0.5943 GB, free: 51.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.5555, allocations: 59.36 kB / 0.5944 GB, free: 51.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002491/0.558, allocations: 0.5157 MB / 0.5949 GB, free: 51.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.5581, allocations: 6.688 kB / 0.5949 GB, free: 51.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006967/0.5588, allocations: 0.9161 MB / 0.5958 GB, free: 51.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5588, allocations: 3.938 kB / 0.5958 GB, free: 51.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.5603, allocations: 1.137 MB / 0.5969 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.5605, allocations: 160.2 kB / 0.597 GB, free: 50.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.5606, allocations: 60.89 kB / 0.5971 GB, free: 50.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.5609, allocations: 24.78 kB / 0.5971 GB, free: 50.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.5611, allocations: 30.58 kB / 0.5971 GB, free: 50.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.5611, allocations: 15.03 kB / 0.5971 GB, free: 50.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005851/0.5617, allocations: 0.5212 MB / 0.5977 GB, free: 50.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5617, allocations: 0 / 0.5977 GB, free: 50.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003768/0.5655, allocations: 1.15 MB / 0.5988 GB, free: 50.49 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.006449/0.5719, allocations: 2.842 MB / 0.6016 GB, free: 49.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.5732, allocations: 461.6 kB / 0.602 GB, free: 49.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5733, allocations: 0 / 0.602 GB, free: 49.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.5739, allocations: 331.1 kB / 0.6023 GB, free: 49.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.5754, allocations: 220.7 kB / 0.6025 GB, free: 49.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/0.5842, allocations: 5.81 MB / 0.6082 GB, free: 46.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.5845, allocations: 0.9106 MB / 0.6091 GB, free: 46.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004406/0.585, allocations: 192.5 kB / 0.6093 GB, free: 46.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.5853, allocations: 236.6 kB / 0.6095 GB, free: 46.2 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5853, allocations: 0 / 0.6095 GB, free: 46.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08862/0.6739, allocations: 49.29 MB / 0.6576 GB, free: 14.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.27, allocations: 11.91 kB / 0.6576 GB, free: 14.79 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_PrescribedPump_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_PrescribedPump.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump.pipe 2>&1)