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.005594/0.005594, allocations: 170.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 0.742/0.742, allocations: 135.2 MB / 151 MB, free: 13.8 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.476/1.476, allocations: 223.2 MB / 406.9 MB, free: 3.211 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.0009604/0.0009603, allocations: 104.2 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005978/0.0005977, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4621, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.195/5.657, allocations: 1.893 GB / 2.543 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/5.658, allocations: 91.95 kB / 2.543 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.506/10.16, allocations: 1.099 GB / 3.642 GB, free: 17.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/10.16, allocations: 0 / 3.642 GB, free: 17.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001467/10.16, allocations: 59.92 kB / 3.642 GB, free: 17.69 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.00609/10.17, allocations: 2.14 MB / 3.644 GB, free: 15.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/10.17, allocations: 11.2 kB / 3.644 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005462/10.17, allocations: 206.8 kB / 3.645 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/10.17, allocations: 0.4975 MB / 3.645 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/10.18, allocations: 1.565 MB / 3.647 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/10.18, allocations: 112.1 kB / 3.647 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/10.18, allocations: 156 kB / 3.647 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/10.18, allocations: 1.714 MB / 3.649 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/10.18, allocations: 7.844 kB / 3.649 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/10.18, allocations: 60 kB / 3.649 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/10.18, allocations: 54.53 kB / 3.649 GB, free: 10.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/10.18, allocations: 1.356 MB / 3.65 GB, free: 9.598 MB / 0.698 GB 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.008237/10.19, allocations: 7.375 MB / 3.657 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/10.19, allocations: 1.015 MB / 3.658 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/10.19, allocations: 114.3 kB / 3.658 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/10.19, allocations: 55.48 kB / 3.658 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001563/10.19, allocations: 322.6 kB / 3.659 GB, free: 260 kB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 5.17e-06/10.19, allocations: 3.984 kB / 3.659 GB, free: 256 kB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.008301/10.2, allocations: 4.245 MB / 3.663 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/10.2, allocations: 167.2 kB / 3.663 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/10.2, allocations: 1.087 MB / 3.664 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/10.2, allocations: 53.7 kB / 3.664 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000643/10.21, allocations: 0.7008 MB / 3.665 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004573/10.21, allocations: 406.2 kB / 3.665 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/10.21, allocations: 31.94 kB / 3.665 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000185/10.21, allocations: 357.9 kB / 3.666 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008275/10.21, allocations: 0.4997 MB / 3.666 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/10.21, allocations: 0.8467 MB / 3.667 GB, free: 7.59 MB / 0.7136 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.009954/10.22, allocations: 3.426 MB / 3.67 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/10.22, allocations: 4 kB / 3.67 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002931/10.22, allocations: 1.569 MB / 3.672 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/10.22, allocations: 8 kB / 3.672 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/10.22, allocations: 8 kB / 3.672 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-05/10.22, allocations: 19.98 kB / 3.672 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/10.22, allocations: 287.5 kB / 3.672 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/10.22, allocations: 19.94 kB / 3.672 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/10.22, allocations: 95.72 kB / 3.672 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/10.22, allocations: 59.98 kB / 3.672 GB, free: 2.051 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.001116/10.23, allocations: 434 kB / 3.673 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/10.23, allocations: 166 kB / 3.673 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/10.23, allocations: 1.248 MB / 3.674 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/10.23, allocations: 12 kB / 3.674 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/10.23, allocations: 8 kB / 3.674 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5133/10.74, allocations: 1.191 MB / 3.675 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00806/10.75, allocations: 3.715 MB / 3.679 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/10.75, allocations: 13.27 kB / 3.679 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/10.75, allocations: 253 kB / 3.679 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-05/10.75, allocations: 16.12 kB / 3.679 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/10.75, allocations: 37.42 kB / 3.679 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.335e-05/10.75, allocations: 28.25 kB / 3.679 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-05/10.75, allocations: 17.22 kB / 3.679 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/10.75, allocations: 2.84 MB / 3.682 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/10.76, allocations: 356.2 kB / 3.682 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/10.76, allocations: 35.86 kB / 3.682 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/10.76, allocations: 93.52 kB / 3.682 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/10.76, allocations: 102.8 kB / 3.682 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/10.76, allocations: 57.67 kB / 3.683 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001601/10.76, allocations: 0.8379 MB / 3.683 GB, free: 117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/10.76, allocations: 1.859 kB / 3.683 GB, free: 117 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002582/10.76, allocations: 0.6277 MB / 3.684 GB, free: 117 MB / 0.7136 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 () * Number of clocked 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.006491/10.77, allocations: 8.152 MB / 3.692 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002209/10.77, allocations: 1.203 MB / 3.693 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/10.77, allocations: 0 / 3.693 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008116/10.77, allocations: 0.5341 MB / 3.694 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/10.78, allocations: 0.8779 MB / 3.694 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009185/10.79, allocations: 10.43 MB / 3.705 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/10.79, allocations: 1.408 MB / 3.706 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001906/10.79, allocations: 386.8 kB / 3.706 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/10.79, allocations: 0.6351 MB / 3.707 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of SimCode: time 2.134e-06/10.79, allocations: 3.844 kB / 3.707 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/10.9, allocations: 72.28 MB / 3.778 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/10.9, allocations: 245.1 kB / 3.778 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.58/15.48, allocations: 0 / 3.778 GB, free: 100.6 MB / 0.7136 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)