Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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.01011/0.01011, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.675/1.675, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002006/0.002005, allocations: 111 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.4359/0.4359, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004836, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.735/7.845, allocations: 2.503 GB / 2.906 GB, free: 77.36 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/7.845, allocations: 88.77 kB / 2.906 GB, free: 77.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.766/11.61, allocations: 0.7396 GB / 3.645 GB, free: 23.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.963e-06/11.61, allocations: 0 / 3.645 GB, free: 23.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001369/11.61, allocations: 33.34 kB / 3.645 GB, free: 23.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01189/11.62, allocations: 2.802 MB / 3.648 GB, free: 22.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/11.62, allocations: 11.34 kB / 3.648 GB, free: 22.39 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006393/11.62, allocations: 175.3 kB / 3.648 GB, free: 22.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007134/11.63, allocations: 0.6219 MB / 3.649 GB, free: 22.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/11.63, allocations: 1.003 MB / 3.65 GB, free: 21.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/11.64, allocations: 101.3 kB / 3.65 GB, free: 21.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/11.64, allocations: 109.2 kB / 3.65 GB, free: 21.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007581/11.64, allocations: 2.01 MB / 3.652 GB, free: 20.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/11.64, allocations: 2.5 kB / 3.652 GB, free: 20.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/11.64, allocations: 55.44 kB / 3.652 GB, free: 20.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/11.64, allocations: 49.12 kB / 3.652 GB, free: 20.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008642/11.65, allocations: 1.872 MB / 3.654 GB, free: 20.07 MB / 458.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.01446/11.67, allocations: 9.307 MB / 3.663 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007825/11.67, allocations: 1.606 MB / 3.665 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06466/11.74, allocations: 21.49 MB / 3.686 GB, free: 2.684 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/11.74, allocations: 43.56 kB / 3.686 GB, free: 2.633 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 3.366e-06/11.74, allocations: 0 / 3.686 GB, free: 2.633 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.4584/12.2, allocations: 9.421 MB / 3.695 GB, free: 46.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.165e-05/12.2, allocations: 174.1 kB / 3.695 GB, free: 46.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/12.2, allocations: 0.7368 MB / 3.696 GB, free: 46.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003531/12.2, allocations: 45.17 kB / 3.696 GB, free: 46.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/12.2, allocations: 0.6127 MB / 3.696 GB, free: 46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005708/12.2, allocations: 453.5 kB / 3.697 GB, free: 45.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/12.2, allocations: 31.09 kB / 3.697 GB, free: 45.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/12.2, allocations: 365.6 kB / 3.697 GB, free: 45.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003482/12.2, allocations: 0.8197 MB / 3.698 GB, free: 45.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/12.21, allocations: 1.238 MB / 3.699 GB, free: 44.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00389/12.21, allocations: 0.9362 MB / 3.7 GB, free: 44.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/12.21, allocations: 3.188 kB / 3.7 GB, free: 44.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01085/12.22, allocations: 2.618 MB / 3.703 GB, free: 44.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001129/12.22, allocations: 4.618 MB / 3.707 GB, free: 40.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/12.22, allocations: 13.78 kB / 3.707 GB, free: 40.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/12.24, allocations: 1.434 MB / 3.708 GB, free: 39.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/12.24, allocations: 443.7 kB / 3.709 GB, free: 39.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/12.25, allocations: 3.263 MB / 3.712 GB, free: 37.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/12.25, allocations: 232.6 kB / 3.712 GB, free: 37.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/12.25, allocations: 102.8 kB / 3.712 GB, free: 37.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/12.25, allocations: 6.625 kB / 3.712 GB, free: 37.89 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009475/12.26, allocations: 2.308 MB / 3.715 GB, free: 37.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/12.26, allocations: 11.25 kB / 3.715 GB, free: 37.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/12.26, allocations: 0.6158 MB / 3.715 GB, free: 37.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005328/12.27, allocations: 0.5762 MB / 3.716 GB, free: 37.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/12.27, allocations: 1.734 MB / 3.718 GB, free: 36.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/12.28, allocations: 225.4 kB / 3.718 GB, free: 36.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/12.28, allocations: 96.8 kB / 3.718 GB, free: 36.79 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.00115/12.28, allocations: 418.8 kB / 3.718 GB, free: 36.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/12.28, allocations: 133.2 kB / 3.718 GB, free: 36.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01686/12.29, allocations: 7.379 MB / 3.726 GB, free: 36.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/12.29, allocations: 81.12 kB / 3.726 GB, free: 36.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/12.29, allocations: 1.062 kB / 3.726 GB, free: 36.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/12.29, allocations: 9.422 kB / 3.726 GB, free: 36.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/12.32, allocations: 9.862 MB / 3.735 GB, free: 35.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/12.32, allocations: 1.344 kB / 3.735 GB, free: 35.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/12.32, allocations: 327 kB / 3.736 GB, free: 35.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01232/12.33, allocations: 2.52 MB / 3.738 GB, free: 35.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/12.33, allocations: 42.17 kB / 3.738 GB, free: 35.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008585/12.34, allocations: 4.462 MB / 3.742 GB, free: 33.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/12.34, allocations: 3.953 kB / 3.742 GB, free: 33.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/12.35, allocations: 5.043 MB / 3.747 GB, free: 32.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/12.35, allocations: 0.5397 MB / 3.748 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003705/12.36, allocations: 30.5 kB / 3.748 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/12.36, allocations: 233.3 kB / 3.748 GB, free: 32.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/12.36, allocations: 131.5 kB / 3.748 GB, free: 32.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/12.36, allocations: 61.39 kB / 3.748 GB, free: 32.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001232/12.36, allocations: 0.6429 MB / 3.749 GB, free: 32.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/12.36, allocations: 0.75 kB / 3.749 GB, free: 32.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009631/12.37, allocations: 2.026 MB / 3.751 GB, free: 32.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0252/12.39, allocations: 7.579 MB / 3.758 GB, free: 30.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01709/12.41, allocations: 4.244 MB / 3.763 GB, free: 30.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/12.41, allocations: 2.844 kB / 3.763 GB, free: 30.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006534/12.42, allocations: 2.29 MB / 3.765 GB, free: 30.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005135/12.42, allocations: 0.5648 MB / 3.765 GB, free: 30.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2466/12.67, allocations: 89.31 MB / 3.853 GB, free: 268 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/12.67, allocations: 1.651 MB / 3.854 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004597/12.68, allocations: 1.415 MB / 3.856 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/12.68, allocations: 0.8528 MB / 3.856 GB, free: 13.34 MB / 490.7 MB Notification: Performance of SimCode: time 2.845e-06/12.68, allocations: 0 / 3.856 GB, free: 13.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6017/13.28, allocations: 93.47 MB / 3.948 GB, free: 45.69 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/13.28, allocations: 264.5 kB / 3.948 GB, free: 45.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/20.29, allocations: 3.875 kB / 3.948 GB, free: 45.34 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat