Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",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.009806/0.009811, allocations: 177.4 kB / 15.13 MB, free: 5.953 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 2.024/2.024, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001764/0.001764, allocations: 120 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.2561/0.2561, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 10.28 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.09965, allocations: 54.88 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.06973/0.1694, allocations: 43.61 MB / 0.4929 GB, free: 7.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04177/0.2113, allocations: 20.01 MB / 0.5125 GB, free: 3.395 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.2134, allocations: 43.75 kB / 0.5125 GB, free: 3.352 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.2166, allocations: 0.6059 MB / 0.5131 GB, free: 2.742 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.01956/0.2362, allocations: 4.404 MB / 0.5174 GB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01365/0.2499, allocations: 3.039 MB / 0.5204 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005284/0.2552, allocations: 2.735 MB / 0.523 GB, free: 8.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.2573, allocations: 0.8831 MB / 0.5239 GB, free: 7.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.2601, allocations: 0.9139 MB / 0.5248 GB, free: 6.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3583/0.6185, allocations: 6.842 MB / 0.5315 GB, free: 17.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005193/0.6191, allocations: 73.75 kB / 0.5316 GB, free: 17.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02144/0.6405, allocations: 7.398 MB / 0.5388 GB, free: 17.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005392/0.6411, allocations: 277.7 kB / 0.539 GB, free: 17.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.6418, allocations: 339.3 kB / 0.5394 GB, free: 17.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.6525, allocations: 4.569 MB / 0.5438 GB, free: 17.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.6525, allocations: 0 / 0.5438 GB, free: 17.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.6525, allocations: 1.094 kB / 0.5438 GB, free: 17.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.043e-05/0.6526, allocations: 0 / 0.5438 GB, free: 17.75 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00912/0.6617, allocations: 2.183 MB / 0.546 GB, free: 16.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6618, allocations: 9 kB / 0.546 GB, free: 16.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007574/0.6626, allocations: 193.8 kB / 0.5462 GB, free: 16.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/0.6667, allocations: 419.7 kB / 0.5466 GB, free: 16.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.6699, allocations: 0.8888 MB / 0.5474 GB, free: 16.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.6701, allocations: 109.8 kB / 0.5475 GB, free: 16.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.6706, allocations: 137.1 kB / 0.5477 GB, free: 16.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006427/0.677, allocations: 1.654 MB / 0.5493 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.502e-05/0.6772, allocations: 8.906 kB / 0.5493 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.6774, allocations: 59.23 kB / 0.5493 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.193e-05/0.6775, allocations: 47.12 kB / 0.5494 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00608/0.6836, allocations: 1.349 MB / 0.5507 GB, free: 15.85 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.01365/0.6973, allocations: 7.587 MB / 0.5581 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.7014, allocations: 0.92 MB / 0.559 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.7028, allocations: 358.8 kB / 0.5593 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06023/0.763, allocations: 18.62 MB / 0.5775 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.7631, allocations: 42.16 kB / 0.5776 GB, free: 12.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=68): time 3.727e-06/0.7632, allocations: 1.422 kB / 0.5776 GB, free: 12.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.06094/0.8241, allocations: 6.436 MB / 0.5839 GB, free: 9.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2979/1.122, allocations: 48.4 MB / 0.6311 GB, free: 9.586 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/1.125, allocations: 0.9131 MB / 0.632 GB, free: 8.887 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/1.125, allocations: 39.45 kB / 0.6321 GB, free: 8.852 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009416/1.126, allocations: 0.7163 MB / 0.6328 GB, free: 8.332 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006273/1.127, allocations: 327.2 kB / 0.6331 GB, free: 8.059 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.127, allocations: 23.25 kB / 0.6331 GB, free: 8.055 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002477/1.127, allocations: 357.4 kB / 0.6334 GB, free: 7.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/1.13, allocations: 476.5 kB / 0.6339 GB, free: 7.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003056/1.133, allocations: 0.9858 MB / 0.6349 GB, free: 6.398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/1.136, allocations: 0.5973 MB / 0.6354 GB, free: 6.027 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.136, allocations: 7.188 kB / 0.6354 GB, free: 6.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.008659/1.144, allocations: 1.777 MB / 0.6372 GB, free: 4.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006615/1.145, allocations: 0.5683 MB / 0.6377 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/1.145, allocations: 18.84 kB / 0.6377 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01477/1.16, allocations: 1.194 MB / 0.6389 GB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/1.163, allocations: 307.5 kB / 0.6392 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006021/1.169, allocations: 1.757 MB / 0.6409 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/1.172, allocations: 116.6 kB / 0.641 GB, free: 1.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/1.173, allocations: 82.91 kB / 0.6411 GB, free: 1.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.173, allocations: 7.938 kB / 0.6411 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01044/1.183, allocations: 1.815 MB / 0.6429 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/1.183, allocations: 16 kB / 0.6429 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008983/1.192, allocations: 0.7834 MB / 0.6437 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/1.195, allocations: 310.3 kB / 0.644 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/1.201, allocations: 1.724 MB / 0.6457 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/1.204, allocations: 113.3 kB / 0.6458 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/1.204, allocations: 78.16 kB / 0.6458 GB, free: 13.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (144): * Single equations (assignments): 142 * Array equations: 0 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.001459/1.206, allocations: 420.2 kB / 0.6462 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/1.206, allocations: 122.5 kB / 0.6464 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/1.221, allocations: 3.898 MB / 0.6502 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.016e-05/1.221, allocations: 38.02 kB / 0.6502 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.221, allocations: 3.188 kB / 0.6502 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/1.221, allocations: 3.984 kB / 0.6502 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/1.237, allocations: 5.943 MB / 0.656 GB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.237, allocations: 4 kB / 0.656 GB, free: 6.273 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.238, allocations: 160.3 kB / 0.6562 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009316/1.247, allocations: 1.728 MB / 0.6579 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/1.247, allocations: 30.25 kB / 0.6579 GB, free: 4.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/1.253, allocations: 2.462 MB / 0.6603 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09951/1.353, allocations: 24.81 MB / 0.6845 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.365, allocations: 3.892 MB / 0.6883 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.366, allocations: 394.4 kB / 0.6887 GB, free: 6.648 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004646/1.367, allocations: 20 kB / 0.6887 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/1.369, allocations: 91.78 kB / 0.6888 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/1.369, allocations: 83.06 kB / 0.6889 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.369, allocations: 31.98 kB / 0.6889 GB, free: 6.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001673/1.371, allocations: 0.6861 MB / 0.6896 GB, free: 5.738 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.395e-06/1.371, allocations: 4 kB / 0.6896 GB, free: 5.734 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02011/1.391, allocations: 3.943 MB / 0.6934 GB, free: 1.793 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (74): * Single equations (assignments): 66 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04619/1.437, allocations: 6.799 MB / 0.7001 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009541/1.447, allocations: 2.441 MB / 0.7025 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.447, allocations: 0 / 0.7025 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003827/1.451, allocations: 1.141 MB / 0.7036 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.455, allocations: 415.5 kB / 0.704 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4351/1.89, allocations: 46.05 MB / 0.7489 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.891, allocations: 1.435 MB / 0.7503 GB, free: 160 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002636/1.894, allocations: 0.7303 MB / 0.751 GB, free: 160 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.895, allocations: 0.7014 MB / 0.7517 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/1.895, allocations: 0 / 0.7517 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8318/2.727, allocations: 190.4 MB / 0.9376 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/2.727, allocations: 274.5 kB / 0.9379 GB, free: 69.17 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.46/22.18, allocations: 5.422 kB / 0.9379 GB, free: 69.16 MB / 0.4948 GB