Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.01047/0.01047, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.205/1.205, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.804/2.804, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 100.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006961/0.0006947, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7733, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.537/9.311, allocations: 1.88 GB / 2.529 GB, free: 57.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004855/9.311, allocations: 90.58 kB / 2.529 GB, free: 57.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.326/12.64, allocations: 360.4 MB / 2.881 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.948e-06/12.64, allocations: 0 / 2.881 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002227/12.64, allocations: 22.69 kB / 2.881 GB, free: 164.5 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005982/12.64, allocations: 1.093 MB / 2.883 GB, free: 164 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.584e-05/12.64, allocations: 9.969 kB / 2.883 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007071/12.64, allocations: 103.5 kB / 2.883 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/12.65, allocations: 269.1 kB / 2.883 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/12.65, allocations: 0.7008 MB / 2.884 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/12.65, allocations: 51.53 kB / 2.884 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/12.65, allocations: 63.41 kB / 2.884 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/12.65, allocations: 0.5595 MB / 2.884 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/12.65, allocations: 0 / 2.884 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/12.65, allocations: 25.69 kB / 2.884 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/12.65, allocations: 20.25 kB / 2.884 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/12.65, allocations: 486.5 kB / 2.885 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005798/12.66, allocations: 2.381 MB / 2.887 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/12.66, allocations: 409.9 kB / 2.887 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/12.66, allocations: 99.27 kB / 2.888 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/12.66, allocations: 44.38 kB / 2.888 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 7.103e-06/12.66, allocations: 0 / 2.888 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.004907/12.67, allocations: 1.427 MB / 2.889 GB, free: 162 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/12.67, allocations: 55.78 kB / 2.889 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009289/12.67, allocations: 481.6 kB / 2.89 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/12.67, allocations: 36.23 kB / 2.89 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/12.67, allocations: 326.4 kB / 2.89 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/12.67, allocations: 166.6 kB / 2.89 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/12.67, allocations: 10.97 kB / 2.89 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002299/12.67, allocations: 372.1 kB / 2.89 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/12.67, allocations: 173.9 kB / 2.891 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/12.67, allocations: 260.2 kB / 2.891 GB, free: 161.2 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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/12.67, allocations: 1.022 MB / 2.892 GB, free: 161 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/12.67, allocations: 0 / 2.892 GB, free: 161 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001492/12.68, allocations: 0.5257 MB / 2.892 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/12.68, allocations: 3.875 kB / 2.892 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/12.68, allocations: 3.938 kB / 2.892 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.344e-05/12.68, allocations: 3.844 kB / 2.892 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/12.68, allocations: 97.14 kB / 2.892 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/12.68, allocations: 3.688 kB / 2.892 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/12.68, allocations: 42.95 kB / 2.892 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/12.68, allocations: 18.06 kB / 2.892 GB, free: 160.9 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0008746/12.68, allocations: 252 kB / 2.893 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/12.68, allocations: 74.39 kB / 2.893 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/12.68, allocations: 75.8 kB / 2.893 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/12.68, allocations: 3.344 kB / 2.893 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/12.68, allocations: 0 / 2.893 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/12.68, allocations: 0.5118 MB / 2.893 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/12.68, allocations: 1.575 MB / 2.895 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/12.68, allocations: 3.875 kB / 2.895 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/12.68, allocations: 124.5 kB / 2.895 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/12.68, allocations: 11.19 kB / 2.895 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-05/12.68, allocations: 21.23 kB / 2.895 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.46e-05/12.68, allocations: 6.844 kB / 2.895 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/12.68, allocations: 7.844 kB / 2.895 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/12.69, allocations: 1.176 MB / 2.896 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/12.69, allocations: 189.5 kB / 2.896 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/12.69, allocations: 26.09 kB / 2.896 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008612/12.69, allocations: 41.08 kB / 2.896 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/12.69, allocations: 48.73 kB / 2.897 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/12.69, allocations: 21.06 kB / 2.897 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007754/12.69, allocations: 394.2 kB / 2.897 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/12.69, allocations: 0 / 2.897 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001974/12.69, allocations: 290.8 kB / 2.897 GB, free: 159.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.006009/12.7, allocations: 4.048 MB / 2.901 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00134/12.7, allocations: 444.1 kB / 2.902 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/12.7, allocations: 3.75 kB / 2.902 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005324/12.7, allocations: 231 kB / 2.902 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/12.7, allocations: 454.9 kB / 2.902 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/12.71, allocations: 4.94 MB / 2.907 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/12.72, allocations: 0.9903 MB / 2.908 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001498/12.72, allocations: 166.8 kB / 2.908 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/12.72, allocations: 256 kB / 2.908 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.617e-06/12.72, allocations: 0 / 2.908 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1307/12.85, allocations: 36.32 MB / 2.944 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/12.85, allocations: 237.3 kB / 2.944 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.745/18.59, allocations: 2.531 kB / 2.944 GB, free: 152.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)