Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00992/0.009926, allocations: 175.8 kB / 15.13 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.946/1.946, allocations: 194.5 MB / 210.3 MB, free: 7.598 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001775/0.001775, allocations: 112.2 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2913/0.2913, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006574/0.0006577, allocations: 10.44 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1188, allocations: 54.89 MB / 461.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.07036/0.1892, allocations: 43.68 MB / 0.493 GB, free: 7.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04025/0.2295, allocations: 20.02 MB / 0.5126 GB, free: 3.309 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.2316, allocations: 47.62 kB / 0.5126 GB, free: 3.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002911/0.2346, allocations: 0.6137 MB / 0.5132 GB, free: 2.645 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01889/0.2535, allocations: 4.399 MB / 0.5175 GB, free: 14.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01303/0.2665, allocations: 3.043 MB / 0.5205 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005255/0.2718, allocations: 2.766 MB / 0.5232 GB, free: 8.414 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/0.274, allocations: 0.912 MB / 0.5241 GB, free: 7.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.2766, allocations: 0.9256 MB / 0.525 GB, free: 6.547 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3487/0.6253, allocations: 6.863 MB / 0.5317 GB, free: 17.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000604/0.626, allocations: 75.84 kB / 0.5317 GB, free: 17.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02226/0.6483, allocations: 7.473 MB / 0.539 GB, free: 17.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005968/0.6489, allocations: 286.8 kB / 0.5393 GB, free: 17.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007696/0.6497, allocations: 347.4 kB / 0.5396 GB, free: 17.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.6614, allocations: 4.605 MB / 0.5441 GB, free: 17.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.6614, allocations: 0 / 0.5441 GB, free: 17.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.6615, allocations: 1.406 kB / 0.5441 GB, free: 17.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.578e-05/0.6615, allocations: 0 / 0.5441 GB, free: 17.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01001/0.6716, allocations: 2.199 MB / 0.5463 GB, free: 16.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.6716, allocations: 9.875 kB / 0.5463 GB, free: 16.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007603/0.6724, allocations: 196.2 kB / 0.5465 GB, free: 16.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.6767, allocations: 423 kB / 0.5469 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.6798, allocations: 0.9085 MB / 0.5478 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.6799, allocations: 100.1 kB / 0.5479 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.6803, allocations: 135.4 kB / 0.548 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005981/0.6863, allocations: 1.679 MB / 0.5496 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/0.6864, allocations: 11.91 kB / 0.5497 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.6866, allocations: 64.11 kB / 0.5497 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-05/0.6867, allocations: 54.39 kB / 0.5498 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005755/0.6924, allocations: 1.365 MB / 0.5511 GB, free: 15.57 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.7064, allocations: 7.552 MB / 0.5585 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/0.7103, allocations: 0.8965 MB / 0.5594 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.7115, allocations: 371.1 kB / 0.5597 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06176/0.7733, allocations: 18.61 MB / 0.5779 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.7734, allocations: 39.03 kB / 0.5779 GB, free: 12.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 3.226e-06/0.7735, allocations: 2.438 kB / 0.5779 GB, free: 12.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.05416/0.8276, allocations: 5.896 MB / 0.5837 GB, free: 9.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2559/1.084, allocations: 47.87 MB / 0.6304 GB, free: 9.961 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/1.086, allocations: 0.9105 MB / 0.6313 GB, free: 9.262 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002381/1.086, allocations: 40.2 kB / 0.6314 GB, free: 9.227 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/1.087, allocations: 0.7183 MB / 0.6321 GB, free: 8.703 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004746/1.087, allocations: 328.5 kB / 0.6324 GB, free: 8.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/1.087, allocations: 28.69 kB / 0.6324 GB, free: 8.422 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/1.087, allocations: 363.1 kB / 0.6328 GB, free: 8.086 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/1.089, allocations: 484.2 kB / 0.6332 GB, free: 7.762 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/1.091, allocations: 0.9751 MB / 0.6342 GB, free: 6.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/1.094, allocations: 0.6153 MB / 0.6348 GB, free: 6.367 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/1.094, allocations: 8 kB / 0.6348 GB, free: 6.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.006376/1.1, allocations: 1.764 MB / 0.6365 GB, free: 5.125 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005337/1.101, allocations: 0.5604 MB / 0.637 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/1.101, allocations: 16 kB / 0.6371 GB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009689/1.11, allocations: 1.075 MB / 0.6381 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/1.112, allocations: 301.9 kB / 0.6384 GB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/1.116, allocations: 1.632 MB / 0.64 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.119, allocations: 134.3 kB / 0.6401 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/1.119, allocations: 82.91 kB / 0.6402 GB, free: 1.535 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.119, allocations: 4 kB / 0.6402 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00814/1.127, allocations: 1.857 MB / 0.642 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/1.127, allocations: 16 kB / 0.642 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005876/1.133, allocations: 0.7287 MB / 0.6427 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/1.135, allocations: 308.4 kB / 0.643 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/1.139, allocations: 1.602 MB / 0.6446 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/1.141, allocations: 128.3 kB / 0.6447 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/1.141, allocations: 81.47 kB / 0.6448 GB, free: 13.76 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 145 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.00113/1.142, allocations: 420.3 kB / 0.6452 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.143, allocations: 122.5 kB / 0.6453 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008647/1.151, allocations: 3.704 MB / 0.6489 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00731/1.159, allocations: 3.184 MB / 0.652 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.159, allocations: 0 / 0.652 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/1.159, allocations: 7.969 kB / 0.6521 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/1.173, allocations: 6.016 MB / 0.6579 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.173, allocations: 0 / 0.6579 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/1.175, allocations: 178.4 kB / 0.6581 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008194/1.183, allocations: 1.59 MB / 0.6597 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/1.183, allocations: 26.42 kB / 0.6597 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005084/1.188, allocations: 2.415 MB / 0.662 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09654/1.285, allocations: 24.3 MB / 0.6858 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.295, allocations: 3.877 MB / 0.6896 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.297, allocations: 402.3 kB / 0.6899 GB, free: 5.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/1.297, allocations: 19.95 kB / 0.69 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.299, allocations: 103.8 kB / 0.6901 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/1.299, allocations: 71.98 kB / 0.6901 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.299, allocations: 47.97 kB / 0.6902 GB, free: 5.105 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001587/1.301, allocations: 0.6509 MB / 0.6908 GB, free: 4.449 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.301, allocations: 0 / 0.6908 GB, free: 4.449 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02084/1.322, allocations: 3.978 MB / 0.6947 GB, free: 484 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.04557/1.367, allocations: 6.765 MB / 0.7013 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008816/1.376, allocations: 2.473 MB / 0.7037 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.376, allocations: 3.094 kB / 0.7037 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004024/1.38, allocations: 1.18 MB / 0.7049 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/1.385, allocations: 400.4 kB / 0.7052 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4531/1.838, allocations: 46.19 MB / 0.7504 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.839, allocations: 1.444 MB / 0.7518 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002756/1.842, allocations: 0.7078 MB / 0.7525 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.843, allocations: 0.711 MB / 0.7531 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/1.843, allocations: 0.5625 kB / 0.7531 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7522/2.595, allocations: 189.9 MB / 0.9386 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/2.596, allocations: 286.2 kB / 0.9389 GB, free: 67.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/22.18, allocations: 3.844 kB / 0.9389 GB, free: 67.26 MB / 0.4948 GB