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.007206/0.007205, allocations: 100.6 kB / 15.73 MB, free: 5.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.001625/0.001625, allocations: 186.5 kB / 16.67 MB, free: 5.422 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06766/0.06766, allocations: 10.98 MB / 280.9 MB, free: 0.9883 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02057/0.02057, allocations: 4.232 MB / 334.6 MB, free: 11.14 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.001426/0.001426, allocations: 74.08 kB / 447.1 MB, free: 33.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.0952, allocations: 49.75 MB / 496.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.2575/0.3527, allocations: 32.67 MB / 0.5171 GB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02467/0.3775, allocations: 19.3 MB / 0.5359 GB, free: 5.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.3782, allocations: 8.469 kB / 0.5359 GB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009487/0.3792, allocations: 243.1 kB / 0.5362 GB, free: 5.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01354/0.3928, allocations: 4.638 MB / 0.5407 GB, free: 2.348 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.007836/0.4006, allocations: 2.356 MB / 0.543 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.4021, allocations: 0.943 MB / 0.5439 GB, free: 112 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/0.4025, allocations: 265.7 kB / 0.5442 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008953/0.4115, allocations: 3.666 MB / 0.5478 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00772/0.4193, allocations: 3.409 MB / 0.5511 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.4195, allocations: 38.94 kB / 0.5511 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/0.4359, allocations: 7.76 MB / 0.5587 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.4362, allocations: 103.7 kB / 0.5588 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.4367, allocations: 227.1 kB / 0.559 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.4493, allocations: 4.815 MB / 0.5637 GB, free: 2.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4494, allocations: 0 / 0.5637 GB, free: 2.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.4494, allocations: 0 / 0.5637 GB, free: 2.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.4494, allocations: 3.938 kB / 0.5637 GB, free: 2.316 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.004292/0.4537, allocations: 1.315 MB / 0.565 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4538, allocations: 8.031 kB / 0.565 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.4539, allocations: 74.72 kB / 0.5651 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.455, allocations: 132.4 kB / 0.5652 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.4556, allocations: 338.3 kB / 0.5655 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.4556, allocations: 33.56 kB / 0.5656 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.4557, allocations: 31.94 kB / 0.5656 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.4572, allocations: 0.6385 MB / 0.5662 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4573, allocations: 0 / 0.5662 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.4573, allocations: 12 kB / 0.5662 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.4573, allocations: 12 kB / 0.5662 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.459, allocations: 0.5601 MB / 0.5668 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.4626, allocations: 3.075 MB / 0.5698 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.4644, allocations: 0.5682 MB / 0.5704 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.4648, allocations: 183.3 kB / 0.5705 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03431/0.4991, allocations: 17.05 MB / 0.5872 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.4992, allocations: 38.56 kB / 0.5872 GB, free: 7.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 4.658e-06/0.4992, allocations: 3.938 kB / 0.5872 GB, free: 7.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.003641/0.5029, allocations: 0.9869 MB / 0.5882 GB, free: 6.805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.503, allocations: 187.9 kB / 0.5884 GB, free: 6.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.5034, allocations: 286.9 kB / 0.5886 GB, free: 6.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.5035, allocations: 33.7 kB / 0.5887 GB, free: 6.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.5036, allocations: 196 kB / 0.5888 GB, free: 6.055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/0.5037, allocations: 94.59 kB / 0.5889 GB, free: 5.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.5039, allocations: 89.58 kB / 0.589 GB, free: 5.867 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5041, allocations: 342.8 kB / 0.5894 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.5044, allocations: 135.9 kB / 0.5895 GB, free: 5.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.5049, allocations: 276.9 kB / 0.5897 GB, free: 5.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008/0.5057, allocations: 407.3 kB / 0.5901 GB, free: 4.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5057, allocations: 0 / 0.5901 GB, free: 4.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001128/0.5069, allocations: 0.4903 MB / 0.5906 GB, free: 4.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5069, allocations: 12.06 kB / 0.5906 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5069, allocations: 4 kB / 0.5906 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/0.5093, allocations: 364.4 kB / 0.591 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.5097, allocations: 79.89 kB / 0.5911 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000701/0.5104, allocations: 0.6966 MB / 0.5917 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.5108, allocations: 67.56 kB / 0.5918 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.5108, allocations: 20 kB / 0.5918 GB, free: 2.844 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.0002363/0.5111, allocations: 161.7 kB / 0.592 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5112, allocations: 35.62 kB / 0.592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.5132, allocations: 1.457 MB / 0.5934 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.5132, allocations: 7.984 kB / 0.5934 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5133, allocations: 7.938 kB / 0.5934 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.5133, allocations: 3.984 kB / 0.5934 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5143, allocations: 0.8121 MB / 0.5942 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5143, allocations: 4 kB / 0.5942 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.5145, allocations: 59.88 kB / 0.5943 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/0.517, allocations: 0.5221 MB / 0.5948 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.517, allocations: 11.94 kB / 0.5948 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008146/0.5179, allocations: 0.9089 MB / 0.5957 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5179, allocations: 0 / 0.5957 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.5194, allocations: 1.137 MB / 0.5968 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.5196, allocations: 160.3 kB / 0.597 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.5197, allocations: 55.38 kB / 0.597 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.5201, allocations: 23.97 kB / 0.597 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.5202, allocations: 35.89 kB / 0.5971 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.5203, allocations: 16 kB / 0.5971 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006321/0.5209, allocations: 0.5147 MB / 0.5976 GB, free: 12.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5209, allocations: 0 / 0.5976 GB, free: 12.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003305/0.5242, allocations: 1.132 MB / 0.5987 GB, free: 11.64 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.006877/0.5311, allocations: 2.823 MB / 0.6015 GB, free: 8.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.5329, allocations: 460.9 kB / 0.6019 GB, free: 8.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.533, allocations: 4 kB / 0.6019 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.534, allocations: 338.9 kB / 0.6022 GB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.5361, allocations: 219.6 kB / 0.6024 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.5464, allocations: 5.77 MB / 0.6081 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.5469, allocations: 0.9186 MB / 0.609 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.5473, allocations: 187 kB / 0.6091 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.5476, allocations: 235.3 kB / 0.6094 GB, free: 492 kB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5476, allocations: 0 / 0.6094 GB, free: 492 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08996/0.6376, allocations: 49.27 MB / 0.6575 GB, free: 15.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.25, allocations: 8.047 kB / 0.6575 GB, free: 15.31 MB / 494.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)