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.00114/0.00114, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001798, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.706/1.706, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07178/0.07178, allocations: 10.97 MB / 280.7 MB, free: 10.21 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01798/0.01798, allocations: 4.24 MB / 334.4 MB, free: 29.11 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.0028/0.0028, allocations: 63.91 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2702, allocations: 49.73 MB / 446.4 MB, free: 47.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_PrescribedPump): time 0.02742/0.2977, allocations: 32.69 MB / 479.1 MB, free: 18.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.3128, allocations: 19.28 MB / 498.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.3131, allocations: 7.938 kB / 498.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.3139, allocations: 258.5 kB / 498.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.3254, allocations: 4.61 MB / 0.4915 GB, free: 9.973 MB / 334.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.007022/0.3324, allocations: 2.357 MB / 0.4938 GB, free: 7.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.3336, allocations: 0.9349 MB / 0.4947 GB, free: 6.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.334, allocations: 268.5 kB / 0.4949 GB, free: 6.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/0.3419, allocations: 3.662 MB / 0.4985 GB, free: 2.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00717/0.3491, allocations: 3.414 MB / 0.5018 GB, free: 15.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.3492, allocations: 36 kB / 0.5019 GB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01619/0.3654, allocations: 7.597 MB / 0.5093 GB, free: 7.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.3657, allocations: 99.72 kB / 0.5094 GB, free: 7.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.3661, allocations: 227 kB / 0.5096 GB, free: 7.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.3784, allocations: 4.838 MB / 0.5143 GB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3784, allocations: 0 / 0.5143 GB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3784, allocations: 0 / 0.5143 GB, free: 2.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.3784, allocations: 4 kB / 0.5143 GB, free: 2.41 MB / 350.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.004047/0.3825, allocations: 1.299 MB / 0.5156 GB, free: 1.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3825, allocations: 8.031 kB / 0.5156 GB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.3827, allocations: 74.72 kB / 0.5157 GB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.3839, allocations: 132.4 kB / 0.5158 GB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.3844, allocations: 319.6 kB / 0.5161 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.3845, allocations: 45.31 kB / 0.5162 GB, free: 460 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.3845, allocations: 31.94 kB / 0.5162 GB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.3862, allocations: 0.6307 MB / 0.5168 GB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3862, allocations: 7.938 kB / 0.5168 GB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.3862, allocations: 16 kB / 0.5168 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.3863, allocations: 12 kB / 0.5168 GB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.388, allocations: 0.5523 MB / 0.5174 GB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.3919, allocations: 3.085 MB / 0.5204 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.3937, allocations: 0.5658 MB / 0.5209 GB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.3942, allocations: 183.3 kB / 0.5211 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03507/0.4293, allocations: 16.97 MB / 0.5377 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.4293, allocations: 42.56 kB / 0.5377 GB, free: 8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.006e-06/0.4294, allocations: 0 / 0.5377 GB, free: 8 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.003342/0.4327, allocations: 0.9952 MB / 0.5387 GB, free: 6.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.4328, allocations: 191.9 kB / 0.5389 GB, free: 6.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.4331, allocations: 278.9 kB / 0.5392 GB, free: 6.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.4331, allocations: 33.8 kB / 0.5392 GB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4333, allocations: 196.1 kB / 0.5394 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.4333, allocations: 102.5 kB / 0.5395 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4335, allocations: 89.58 kB / 0.5396 GB, free: 6.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4336, allocations: 338.8 kB / 0.5399 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.4339, allocations: 139.8 kB / 0.54 GB, free: 5.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.4344, allocations: 281 kB / 0.5403 GB, free: 5.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007688/0.4352, allocations: 403.1 kB / 0.5407 GB, free: 4.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4352, allocations: 4 kB / 0.5407 GB, free: 4.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001062/0.4362, allocations: 0.4901 MB / 0.5411 GB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4363, allocations: 8 kB / 0.5412 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4363, allocations: 7.984 kB / 0.5412 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/0.4386, allocations: 360.8 kB / 0.5415 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.4389, allocations: 83.88 kB / 0.5416 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000593/0.4395, allocations: 0.6923 MB / 0.5423 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.4398, allocations: 59.62 kB / 0.5423 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.4399, allocations: 24 kB / 0.5423 GB, free: 3.023 MB / 382.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.0001734/0.4401, allocations: 168.8 kB / 0.5425 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.4402, allocations: 27.72 kB / 0.5425 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.4421, allocations: 1.475 MB / 0.544 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4421, allocations: 15.98 kB / 0.544 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4421, allocations: 0 / 0.544 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4421, allocations: 3.984 kB / 0.544 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009259/0.443, allocations: 0.8111 MB / 0.5448 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4431, allocations: 0 / 0.5448 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.4433, allocations: 51.95 kB / 0.5448 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/0.4457, allocations: 0.5421 MB / 0.5454 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.4457, allocations: 15.88 kB / 0.5454 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007437/0.4464, allocations: 0.9002 MB / 0.5463 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4465, allocations: 4 kB / 0.5463 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.4479, allocations: 1.129 MB / 0.5474 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.4481, allocations: 164.3 kB / 0.5475 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4482, allocations: 51.28 kB / 0.5476 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.4486, allocations: 27.97 kB / 0.5476 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.4487, allocations: 39.89 kB / 0.5476 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.4487, allocations: 15.94 kB / 0.5476 GB, free: 13.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005351/0.4492, allocations: 0.5147 MB / 0.5482 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4492, allocations: 0 / 0.5482 GB, free: 12.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002956/0.4522, allocations: 1.14 MB / 0.5493 GB, free: 11.79 MB / 398.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.006007/0.4582, allocations: 2.815 MB / 0.552 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.4594, allocations: 469 kB / 0.5525 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4594, allocations: 0 / 0.5525 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.46, allocations: 342.5 kB / 0.5528 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.4613, allocations: 217.6 kB / 0.553 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/0.4695, allocations: 5.923 MB / 0.5588 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.47, allocations: 0.9225 MB / 0.5597 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003556/0.4703, allocations: 187 kB / 0.5599 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.4706, allocations: 235.3 kB / 0.5601 GB, free: 480 kB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4706, allocations: 0 / 0.5601 GB, free: 480 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.264/0.7346, allocations: 49.25 MB / 0.6082 GB, free: 102.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.78, allocations: 2.531 kB / 0.6082 GB, free: 102.9 MB / 414.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)