Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009782/0.009782, allocations: 163.8 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.695/1.695, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001744/0.001744, allocations: 117.9 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4651/0.4651, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 8 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1054, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.3244/0.4299, allocations: 38.69 MB / 450.4 MB, free: 30.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02998/0.4599, allocations: 18.54 MB / 468.9 MB, free: 17.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.4612, allocations: 28.22 kB / 469 MB, free: 17.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.4629, allocations: 391.4 kB / 469.3 MB, free: 17.52 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.01583/0.4787, allocations: 4.055 MB / 473.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01187/0.4906, allocations: 2.9 MB / 476.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003216/0.4939, allocations: 1.809 MB / 478.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000978/0.4949, allocations: 368.9 kB / 478.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.4968, allocations: 0.6173 MB / 479.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01635/0.5131, allocations: 6.45 MB / 485.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.5135, allocations: 29.78 kB / 485.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0202/0.5337, allocations: 7.189 MB / 492.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.5341, allocations: 144.7 kB / 492.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.5346, allocations: 175.9 kB / 493.1 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008403/0.543, allocations: 3.518 MB / 496.6 MB, free: 7.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.5431, allocations: 0 / 496.6 MB, free: 7.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5431, allocations: 3.406 kB / 496.6 MB, free: 7.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.856e-05/0.5431, allocations: 0 / 496.6 MB, free: 7.441 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005617/0.5487, allocations: 1.517 MB / 498.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5488, allocations: 10.91 kB / 498.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.549, allocations: 98.83 kB / 498.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.5523, allocations: 297 kB / 498.5 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.5536, allocations: 0.5234 MB / 499 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.5537, allocations: 51.88 kB / 499.1 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.5538, allocations: 61.64 kB / 499.1 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/0.5574, allocations: 0.9839 MB / 0.4884 GB, free: 4.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.5575, allocations: 3.984 kB / 0.4884 GB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.5576, allocations: 31.95 kB / 0.4884 GB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.5577, allocations: 21 kB / 0.4885 GB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003762/0.5615, allocations: 0.9129 MB / 0.4893 GB, free: 3.898 MB / 330.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.006049/0.5676, allocations: 4.475 MB / 0.4937 GB, free: 15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/0.5715, allocations: 0.7849 MB / 0.4945 GB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.5726, allocations: 314 kB / 0.4948 GB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.314/0.8866, allocations: 83.87 MB / 0.5767 GB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.8867, allocations: 39 kB / 0.5767 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.655e-06/0.8867, allocations: 0 / 0.5767 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.3092/1.196, allocations: 2.269 MB / 0.5789 GB, free: 138.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/1.196, allocations: 109.5 kB / 0.579 GB, free: 138.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.197, allocations: 498.2 kB / 0.5795 GB, free: 138.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.197, allocations: 37.2 kB / 0.5796 GB, free: 138.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000425/1.198, allocations: 334.3 kB / 0.5799 GB, free: 138.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/1.198, allocations: 177.2 kB / 0.58 GB, free: 138.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/1.198, allocations: 12.28 kB / 0.58 GB, free: 138.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/1.199, allocations: 365.4 kB / 0.5804 GB, free: 137.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/1.2, allocations: 281.2 kB / 0.5807 GB, free: 137.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/1.202, allocations: 473.5 kB / 0.5811 GB, free: 137.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/1.205, allocations: 327.8 kB / 0.5814 GB, free: 137.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.205, allocations: 1.25 kB / 0.5814 GB, free: 137.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.006993/1.212, allocations: 1.031 MB / 0.5824 GB, free: 137.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/1.212, allocations: 252.6 kB / 0.5827 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.212, allocations: 7.578 kB / 0.5827 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006214/1.218, allocations: 455.7 kB / 0.5831 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.22, allocations: 142.3 kB / 0.5833 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/1.225, allocations: 0.9291 MB / 0.5842 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.227, allocations: 91.45 kB / 0.5843 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.227, allocations: 36.36 kB / 0.5843 GB, free: 136.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.227, allocations: 4.094 kB / 0.5843 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005992/1.233, allocations: 0.9506 MB / 0.5852 GB, free: 136.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/1.233, allocations: 5.781 kB / 0.5852 GB, free: 136.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003509/1.237, allocations: 328.9 kB / 0.5855 GB, free: 136.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.238, allocations: 153.2 kB / 0.5857 GB, free: 136.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/1.241, allocations: 0.8788 MB / 0.5865 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.243, allocations: 89.66 kB / 0.5866 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/1.243, allocations: 35.08 kB / 0.5867 GB, free: 136.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007613/1.244, allocations: 289.6 kB / 0.5869 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/1.244, allocations: 63.17 kB / 0.587 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008907/1.253, allocations: 2.918 MB / 0.5898 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.963e-05/1.253, allocations: 39.94 kB / 0.5899 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.253, allocations: 3.25 kB / 0.5899 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/1.253, allocations: 13.41 kB / 0.5899 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0085/1.261, allocations: 4.056 MB / 0.5939 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.262, allocations: 0 / 0.5939 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/1.263, allocations: 167.7 kB / 0.594 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005635/1.263, allocations: 75.05 kB / 0.5941 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/1.264, allocations: 21.94 kB / 0.5941 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006686/1.264, allocations: 1.179 MB / 0.5953 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.264, allocations: 3.312 kB / 0.5953 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/1.269, allocations: 2.588 MB / 0.5978 GB, free: 130.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/1.27, allocations: 325 kB / 0.5981 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/1.27, allocations: 10.66 kB / 0.5981 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/1.271, allocations: 63.7 kB / 0.5982 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.271, allocations: 57.83 kB / 0.5982 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/1.271, allocations: 24.03 kB / 0.5983 GB, free: 130.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006385/1.272, allocations: 400.7 kB / 0.5986 GB, free: 129.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.392e-06/1.272, allocations: 0 / 0.5986 GB, free: 129.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004835/1.277, allocations: 1.319 MB / 0.5999 GB, free: 129.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01234/1.289, allocations: 4.409 MB / 0.6042 GB, free: 128 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006395/1.296, allocations: 1.504 MB / 0.6057 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.296, allocations: 0 / 0.6057 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002973/1.299, allocations: 0.8702 MB / 0.6065 GB, free: 127.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/1.304, allocations: 310.6 kB / 0.6068 GB, free: 127 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09394/1.398, allocations: 41.18 MB / 0.6471 GB, free: 99.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/1.398, allocations: 1.162 MB / 0.6482 GB, free: 98.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001763/1.4, allocations: 0.7129 MB / 0.6489 GB, free: 97.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/1.401, allocations: 451.3 kB / 0.6493 GB, free: 97.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.401, allocations: 4 kB / 0.6493 GB, free: 97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/1.533, allocations: 59.12 MB / 0.7071 GB, free: 37.89 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/1.534, allocations: 275.4 kB / 0.7073 GB, free: 37.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/7.974, allocations: 0 / 0.7073 GB, free: 37.53 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat