Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7738/0.7738, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.825/1.825, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.000912, allocations: 97.88 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.565e-05/4.585e-05, allocations: 3.5 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1528, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.178/5.331, allocations: 1.881 GB / 2.521 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/5.332, allocations: 88.5 kB / 2.521 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.089/6.42, allocations: 262.6 MB / 2.778 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.512e-06/6.42, allocations: 0 / 2.778 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.705e-05/6.42, allocations: 19.98 kB / 2.778 GB, free: 31.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002145/6.422, allocations: 0.795 MB / 2.779 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/6.422, allocations: 8.031 kB / 2.779 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/6.423, allocations: 86.52 kB / 2.779 GB, free: 30.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/6.424, allocations: 171.1 kB / 2.779 GB, free: 30.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/6.425, allocations: 0.5079 MB / 2.779 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/6.425, allocations: 33 kB / 2.779 GB, free: 29.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/6.426, allocations: 44 kB / 2.779 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/6.426, allocations: 498.2 kB / 2.78 GB, free: 29.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/6.427, allocations: 0 / 2.78 GB, free: 29.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/6.427, allocations: 20 kB / 2.78 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/6.427, allocations: 20.94 kB / 2.78 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/6.427, allocations: 383.9 kB / 2.78 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/6.43, allocations: 1.72 MB / 2.782 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/6.43, allocations: 304.9 kB / 2.782 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/6.431, allocations: 168.8 kB / 2.782 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/6.431, allocations: 93.09 kB / 2.783 GB, free: 26.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/6.431, allocations: 38.56 kB / 2.783 GB, free: 26.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/6.431, allocations: 0 / 2.783 GB, free: 26.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001833/6.433, allocations: 0.9265 MB / 2.783 GB, free: 25.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/6.433, allocations: 55.41 kB / 2.784 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/6.433, allocations: 407 kB / 2.784 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/6.433, allocations: 29.7 kB / 2.784 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/6.433, allocations: 248.2 kB / 2.784 GB, free: 24.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.108e-05/6.433, allocations: 118.3 kB / 2.784 GB, free: 24.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/6.433, allocations: 8 kB / 2.784 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/6.434, allocations: 358.8 kB / 2.785 GB, free: 23.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/6.434, allocations: 120 kB / 2.785 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/6.434, allocations: 203.4 kB / 2.785 GB, free: 23.61 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/6.435, allocations: 0.5472 MB / 2.785 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/6.435, allocations: 0 / 2.785 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005625/6.436, allocations: 404.6 kB / 2.786 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/6.436, allocations: 4.188 kB / 2.786 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/6.436, allocations: 8 kB / 2.786 GB, free: 22.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/6.436, allocations: 3.953 kB / 2.786 GB, free: 22.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/6.436, allocations: 71.91 kB / 2.786 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/6.436, allocations: 4 kB / 2.786 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/6.437, allocations: 31.83 kB / 2.786 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/6.437, allocations: 12.05 kB / 2.786 GB, free: 22.51 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/6.437, allocations: 140.8 kB / 2.786 GB, free: 22.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/6.437, allocations: 47.44 kB / 2.786 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/6.437, allocations: 60.89 kB / 2.786 GB, free: 22.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/6.437, allocations: 11.94 kB / 2.786 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/6.437, allocations: 3.953 kB / 2.786 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004237/6.438, allocations: 396.3 kB / 2.787 GB, free: 21.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/6.439, allocations: 1.231 MB / 2.788 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/6.439, allocations: 4 kB / 2.788 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/6.44, allocations: 79.89 kB / 2.788 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/6.44, allocations: 8 kB / 2.788 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/6.44, allocations: 8 kB / 2.788 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/6.44, allocations: 8.5 kB / 2.788 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/6.44, allocations: 7.938 kB / 2.788 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/6.441, allocations: 0.8997 MB / 2.789 GB, free: 19.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/6.441, allocations: 172.5 kB / 2.789 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/6.441, allocations: 11.94 kB / 2.789 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/6.441, allocations: 35.98 kB / 2.789 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/6.442, allocations: 35.86 kB / 2.789 GB, free: 19.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/6.442, allocations: 15.98 kB / 2.789 GB, free: 19.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003218/6.442, allocations: 321.2 kB / 2.789 GB, free: 18.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/6.442, allocations: 4 kB / 2.789 GB, free: 18.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008904/6.443, allocations: 224 kB / 2.79 GB, free: 18.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002766/6.446, allocations: 3.398 MB / 2.793 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004729/6.446, allocations: 307.6 kB / 2.793 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/6.446, allocations: 0 / 2.793 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/6.446, allocations: 157.6 kB / 2.793 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/6.448, allocations: 354.8 kB / 2.794 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/6.45, allocations: 0.9961 MB / 2.795 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/6.45, allocations: 0.8942 MB / 2.796 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005424/6.451, allocations: 136.6 kB / 2.796 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/6.451, allocations: 167.4 kB / 2.796 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/6.451, allocations: 0 / 2.796 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5463/6.997, allocations: 32.2 MB / 2.827 GB, free: 174 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/6.997, allocations: 204.3 kB / 2.827 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/10.06, allocations: 0 / 2.827 GB, free: 173.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)