Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.0011/0.0011, allocations: 169 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7728/0.7728, allocations: 133.6 MB / 141.6 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009203/0.0009203, allocations: 92.92 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.315e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5024, allocations: 82.29 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.255/5.757, allocations: 1.893 GB / 2.527 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/5.758, allocations: 95.45 kB / 2.527 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.888/9.646, allocations: 1.087 GB / 3.613 GB, free: 99.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.566e-06/9.646, allocations: 3.984 kB / 3.613 GB, free: 99.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002511/9.646, allocations: 58.05 kB / 3.613 GB, free: 99.55 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.006078/9.652, allocations: 1.881 MB / 3.615 GB, free: 98.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/9.652, allocations: 7.844 kB / 3.615 GB, free: 98.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00386/9.656, allocations: 496.7 kB / 3.616 GB, free: 98.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/9.661, allocations: 1.561 MB / 3.617 GB, free: 97.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/9.661, allocations: 48.08 kB / 3.617 GB, free: 97.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004883/9.661, allocations: 91.12 kB / 3.617 GB, free: 97.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002592/9.664, allocations: 1.217 MB / 3.619 GB, free: 96.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003321/9.667, allocations: 1.479 MB / 3.62 GB, free: 95.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/9.667, allocations: 11.64 kB / 3.62 GB, free: 95.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/9.667, allocations: 3.781 kB / 3.62 GB, free: 95.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/9.667, allocations: 50.55 kB / 3.62 GB, free: 95.54 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.009161/9.677, allocations: 7.089 MB / 3.627 GB, free: 88.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/9.678, allocations: 0.9556 MB / 3.628 GB, free: 87.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007273/9.679, allocations: 0.637 MB / 3.629 GB, free: 87.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/9.679, allocations: 119.9 kB / 3.629 GB, free: 87.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/9.679, allocations: 58.17 kB / 3.629 GB, free: 86.96 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001394/9.68, allocations: 269.1 kB / 3.629 GB, free: 86.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 5.36e-06/9.68, allocations: 2.719 kB / 3.629 GB, free: 86.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.006238/9.687, allocations: 3.511 MB / 3.632 GB, free: 83.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/9.687, allocations: 167.5 kB / 3.633 GB, free: 82.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/9.688, allocations: 0.7898 MB / 3.633 GB, free: 82.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/9.688, allocations: 25.7 kB / 3.633 GB, free: 82.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/9.688, allocations: 0.7261 MB / 3.634 GB, free: 81.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/9.689, allocations: 382.3 kB / 3.634 GB, free: 80.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/9.689, allocations: 0 / 3.634 GB, free: 80.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/9.689, allocations: 357.9 kB / 3.635 GB, free: 80.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/9.689, allocations: 462.5 kB / 3.635 GB, free: 80.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/9.69, allocations: 0.7811 MB / 3.636 GB, free: 79.28 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/9.706, allocations: 3.877 MB / 3.64 GB, free: 75.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/9.706, allocations: 3.5 kB / 3.64 GB, free: 75.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002533/9.708, allocations: 1.395 MB / 3.641 GB, free: 74.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/9.709, allocations: 8 kB / 3.641 GB, free: 74.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/9.709, allocations: 11.95 kB / 3.641 GB, free: 74.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/9.709, allocations: 18.34 kB / 3.641 GB, free: 74.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/9.71, allocations: 279.5 kB / 3.641 GB, free: 73.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/9.71, allocations: 23.92 kB / 3.642 GB, free: 73.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/9.711, allocations: 61.23 kB / 3.642 GB, free: 73.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/9.712, allocations: 59.98 kB / 3.642 GB, free: 73.6 MB / 0.698 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0003075/9.712, allocations: 152.7 kB / 3.642 GB, free: 73.45 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001778/9.714, allocations: 1.108 MB / 3.643 GB, free: 72.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/9.714, allocations: 146.3 kB / 3.643 GB, free: 72.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/9.716, allocations: 1.132 MB / 3.644 GB, free: 71.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/9.716, allocations: 13.84 kB / 3.644 GB, free: 71.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/9.716, allocations: 0 / 3.644 GB, free: 71.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/9.717, allocations: 1.127 MB / 3.645 GB, free: 69.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00523/9.722, allocations: 3.436 MB / 3.649 GB, free: 66.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/9.722, allocations: 11.7 kB / 3.649 GB, free: 66.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/9.723, allocations: 255.6 kB / 3.649 GB, free: 66.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.243e-05/9.723, allocations: 19.66 kB / 3.649 GB, free: 66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/9.724, allocations: 20 kB / 3.649 GB, free: 65.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/9.724, allocations: 23.92 kB / 3.649 GB, free: 65.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/9.724, allocations: 15.94 kB / 3.649 GB, free: 65.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/9.726, allocations: 2.615 MB / 3.651 GB, free: 63.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/9.727, allocations: 331.3 kB / 3.652 GB, free: 62.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/9.727, allocations: 19.98 kB / 3.652 GB, free: 62.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/9.729, allocations: 77.62 kB / 3.652 GB, free: 62.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/9.729, allocations: 99.92 kB / 3.652 GB, free: 62.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/9.729, allocations: 51.98 kB / 3.652 GB, free: 62.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008756/9.73, allocations: 0.5806 MB / 3.653 GB, free: 61.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/9.73, allocations: 3.312 kB / 3.653 GB, free: 61.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002061/9.732, allocations: 0.5117 MB / 3.653 GB, free: 61.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.005825/9.738, allocations: 8.248 MB / 3.661 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001696/9.739, allocations: 1.093 MB / 3.662 GB, free: 51.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/9.739, allocations: 4 kB / 3.662 GB, free: 51.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/9.74, allocations: 0.4953 MB / 3.663 GB, free: 51.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/9.744, allocations: 0.7157 MB / 3.663 GB, free: 50.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/9.749, allocations: 3.026 MB / 3.666 GB, free: 47.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/9.75, allocations: 1.406 MB / 3.668 GB, free: 46.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001365/9.751, allocations: 343 kB / 3.668 GB, free: 45.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007139/9.752, allocations: 0.6203 MB / 3.669 GB, free: 45.22 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/9.752, allocations: 0 / 3.669 GB, free: 45.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.506/10.26, allocations: 51.28 MB / 3.719 GB, free: 101.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/10.26, allocations: 189.5 kB / 3.719 GB, free: 101.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.855/14.11, allocations: 3.469 kB / 3.719 GB, free: 101.3 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)