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.007496/0.007496, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001289/0.001289, allocations: 190.4 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.463/1.463, allocations: 205.1 MB / 222.6 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06826/0.06826, allocations: 10.98 MB / 280.9 MB, free: 9.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01833/0.01833, allocations: 4.25 MB / 334.6 MB, free: 29 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.001491/0.001492, allocations: 71.14 kB / 447.1 MB, free: 44.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.0915, allocations: 49.74 MB / 496.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.0361/0.1277, allocations: 32.69 MB / 0.5171 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02234/0.15, allocations: 19.29 MB / 0.5359 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005472/0.1506, allocations: 7.938 kB / 0.5359 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009091/0.1516, allocations: 258.5 kB / 0.5362 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01679/0.1684, allocations: 4.636 MB / 0.5407 GB, free: 4.898 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.009276/0.1777, allocations: 2.347 MB / 0.543 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1791, allocations: 0.9466 MB / 0.5439 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.1796, allocations: 268.5 kB / 0.5442 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008211/0.1878, allocations: 3.67 MB / 0.5478 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007439/0.1953, allocations: 3.402 MB / 0.5511 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.1955, allocations: 36 kB / 0.5511 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01682/0.2123, allocations: 7.765 MB / 0.5587 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.2126, allocations: 99.66 kB / 0.5588 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003769/0.213, allocations: 227.1 kB / 0.559 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.2265, allocations: 4.826 MB / 0.5637 GB, free: 13.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2266, allocations: 0 / 0.5637 GB, free: 13.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2266, allocations: 0 / 0.5637 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2266, allocations: 0 / 0.5637 GB, free: 13.18 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.003831/0.2304, allocations: 1.307 MB / 0.565 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2305, allocations: 8.031 kB / 0.565 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.509e-05/0.2306, allocations: 78.72 kB / 0.5651 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.2316, allocations: 136.3 kB / 0.5652 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.2322, allocations: 327.6 kB / 0.5655 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.2322, allocations: 33.06 kB / 0.5656 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.2323, allocations: 36 kB / 0.5656 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2338, allocations: 0.6346 MB / 0.5662 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2338, allocations: 7.938 kB / 0.5662 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.2339, allocations: 12 kB / 0.5662 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2339, allocations: 8 kB / 0.5663 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.2354, allocations: 0.5601 MB / 0.5668 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.2391, allocations: 3.074 MB / 0.5698 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.2409, allocations: 0.5648 MB / 0.5704 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.2413, allocations: 199.2 kB / 0.5705 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2839/0.5253, allocations: 17.02 MB / 0.5872 GB, free: 54.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.5254, allocations: 37.7 kB / 0.5872 GB, free: 54.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 3.016e-06/0.5254, allocations: 4 kB / 0.5872 GB, free: 54.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.003704/0.5291, allocations: 0.9837 MB / 0.5882 GB, free: 54.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.5292, allocations: 192.2 kB / 0.5883 GB, free: 53.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.5295, allocations: 284.1 kB / 0.5886 GB, free: 53.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.5296, allocations: 32.58 kB / 0.5887 GB, free: 53.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.5297, allocations: 197.9 kB / 0.5888 GB, free: 53.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/0.5298, allocations: 104.2 kB / 0.5889 GB, free: 53.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.5299, allocations: 83.02 kB / 0.589 GB, free: 53.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.53, allocations: 343.9 kB / 0.5893 GB, free: 53.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.5304, allocations: 135.9 kB / 0.5895 GB, free: 53.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.5309, allocations: 273.7 kB / 0.5897 GB, free: 53.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007607/0.5316, allocations: 404.5 kB / 0.5901 GB, free: 52.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5316, allocations: 1.281 kB / 0.5901 GB, free: 52.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001383/0.533, allocations: 0.4919 MB / 0.5906 GB, free: 52.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5331, allocations: 9.812 kB / 0.5906 GB, free: 52.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5331, allocations: 3.406 kB / 0.5906 GB, free: 52.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/0.5355, allocations: 372.4 kB / 0.591 GB, free: 52.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.5358, allocations: 81.06 kB / 0.5911 GB, free: 52.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006124/0.5364, allocations: 0.6948 MB / 0.5917 GB, free: 52.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.5368, allocations: 52.53 kB / 0.5918 GB, free: 52.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.5368, allocations: 27.89 kB / 0.5918 GB, free: 52.28 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.000206/0.5371, allocations: 172.6 kB / 0.592 GB, free: 52.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.5372, allocations: 33.53 kB / 0.592 GB, free: 52.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.5391, allocations: 1.456 MB / 0.5934 GB, free: 51.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.5391, allocations: 9.656 kB / 0.5934 GB, free: 51.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5392, allocations: 1.094 kB / 0.5934 GB, free: 51.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.5392, allocations: 8.719 kB / 0.5934 GB, free: 51.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5402, allocations: 0.8072 MB / 0.5942 GB, free: 51.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.5402, allocations: 1.125 kB / 0.5942 GB, free: 51.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.5405, allocations: 63.14 kB / 0.5943 GB, free: 51.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.5428, allocations: 0.5183 MB / 0.5948 GB, free: 51.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.5429, allocations: 7 kB / 0.5948 GB, free: 51.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007004/0.5436, allocations: 0.9158 MB / 0.5957 GB, free: 51.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5436, allocations: 3.938 kB / 0.5957 GB, free: 51.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.5451, allocations: 1.128 MB / 0.5968 GB, free: 50.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.5453, allocations: 167.4 kB / 0.597 GB, free: 50.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.5454, allocations: 50.19 kB / 0.597 GB, free: 50.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.5458, allocations: 30.7 kB / 0.597 GB, free: 50.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5459, allocations: 33.41 kB / 0.5971 GB, free: 50.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.546, allocations: 15.19 kB / 0.5971 GB, free: 50.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006139/0.5466, allocations: 0.5156 MB / 0.5976 GB, free: 50.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5466, allocations: 2.844 kB / 0.5976 GB, free: 50.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003807/0.5504, allocations: 1.134 MB / 0.5987 GB, free: 50.36 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.007554/0.558, allocations: 2.822 MB / 0.6015 GB, free: 49.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.5594, allocations: 455.7 kB / 0.6019 GB, free: 49.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.5594, allocations: 3.469 kB / 0.6019 GB, free: 49.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.5601, allocations: 338.4 kB / 0.6022 GB, free: 49.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.5615, allocations: 211 kB / 0.6024 GB, free: 49.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009616/0.5711, allocations: 5.779 MB / 0.6081 GB, free: 47.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.5715, allocations: 0.91 MB / 0.609 GB, free: 46.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004026/0.5719, allocations: 194.5 kB / 0.6091 GB, free: 46.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.5722, allocations: 237 kB / 0.6094 GB, free: 46.31 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5722, allocations: 0 / 0.6094 GB, free: 46.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08341/0.6556, allocations: 49.28 MB / 0.6575 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.6, allocations: 19.88 kB / 0.6575 GB, free: 14.89 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)