Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.01389/0.01389, allocations: 171.9 kB / 15.12 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.421/1.421, allocations: 135.2 MB / 151 MB, free: 13.84 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.617/2.617, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001469/0.001469, allocations: 95.67 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.0006542, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7262/0.7269, allocations: 82.29 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.954/9.681, allocations: 1.893 GB / 2.543 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006733/9.682, allocations: 95.89 kB / 2.543 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.619/17.3, allocations: 1.099 GB / 3.642 GB, free: 17.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.607e-06/17.3, allocations: 0 / 3.642 GB, free: 17.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003298/17.3, allocations: 55.36 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.01248/17.31, allocations: 2.146 MB / 3.644 GB, free: 15.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.000101/17.31, allocations: 12.03 kB / 3.644 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001547/17.32, allocations: 202.8 kB / 3.645 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005957/17.32, allocations: 0.4936 MB / 3.645 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008984/17.33, allocations: 1.576 MB / 3.647 GB, free: 13.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/17.33, allocations: 114.7 kB / 3.647 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/17.33, allocations: 148 kB / 3.647 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007079/17.34, allocations: 1.707 MB / 3.649 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.071e-05/17.34, allocations: 11.84 kB / 3.649 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/17.34, allocations: 63.98 kB / 3.649 GB, free: 11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/17.34, allocations: 50.55 kB / 3.649 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/17.34, allocations: 1.36 MB / 3.65 GB, free: 9.582 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.01726/17.36, allocations: 7.379 MB / 3.657 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/17.36, allocations: 1.012 MB / 3.658 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003795/17.36, allocations: 114.1 kB / 3.658 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.35e-05/17.36, allocations: 51.5 kB / 3.658 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002952/17.37, allocations: 330.8 kB / 3.659 GB, free: 240 kB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 1.72e-05/17.37, allocations: 0 / 3.659 GB, free: 240 kB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.01912/17.39, allocations: 4.24 MB / 3.663 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/17.39, allocations: 175.5 kB / 3.663 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/17.39, allocations: 1.088 MB / 3.664 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005324/17.39, allocations: 49.7 kB / 3.664 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/17.39, allocations: 0.7123 MB / 3.665 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/17.39, allocations: 398.2 kB / 3.665 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/17.39, allocations: 28 kB / 3.665 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003505/17.39, allocations: 361.9 kB / 3.666 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/17.4, allocations: 0.4997 MB / 3.666 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/17.4, allocations: 0.8506 MB / 3.667 GB, free: 7.562 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.01641/17.41, allocations: 3.423 MB / 3.67 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/17.41, allocations: 4 kB / 3.67 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004641/17.42, allocations: 1.569 MB / 3.672 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/17.42, allocations: 12 kB / 3.672 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/17.42, allocations: 8 kB / 3.672 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.332e-05/17.42, allocations: 16 kB / 3.672 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/17.42, allocations: 288.3 kB / 3.672 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.397e-05/17.42, allocations: 27.92 kB / 3.672 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/17.42, allocations: 87.7 kB / 3.672 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/17.42, allocations: 67.97 kB / 3.672 GB, free: 2.02 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.001719/17.43, allocations: 424.1 kB / 3.673 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008949/17.43, allocations: 166 kB / 3.673 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/17.43, allocations: 1.248 MB / 3.674 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.961e-05/17.43, allocations: 12 kB / 3.674 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/17.43, allocations: 4 kB / 3.674 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112/18.54, allocations: 1.2 MB / 3.675 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/18.56, allocations: 3.708 MB / 3.679 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.631e-05/18.56, allocations: 9.719 kB / 3.679 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/18.56, allocations: 267.5 kB / 3.679 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.712e-05/18.56, allocations: 16.56 kB / 3.679 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/18.56, allocations: 36.22 kB / 3.679 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.432e-05/18.56, allocations: 22.77 kB / 3.679 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-05/18.56, allocations: 15.44 kB / 3.679 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008104/18.57, allocations: 2.845 MB / 3.682 GB, free: 116.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/18.58, allocations: 353 kB / 3.682 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007135/18.58, allocations: 37.77 kB / 3.682 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002647/18.58, allocations: 98.55 kB / 3.682 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/18.58, allocations: 97.73 kB / 3.682 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/18.58, allocations: 51.44 kB / 3.683 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002626/18.58, allocations: 0.8396 MB / 3.683 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.475e-06/18.58, allocations: 3.25 kB / 3.683 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005521/18.59, allocations: 0.6231 MB / 3.684 GB, free: 116.5 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.01355/18.6, allocations: 8.153 MB / 3.692 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004775/18.61, allocations: 1.196 MB / 3.693 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.833e-05/18.61, allocations: 2.156 kB / 3.693 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/18.61, allocations: 0.5396 MB / 3.694 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008811/18.62, allocations: 0.8705 MB / 3.694 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/18.64, allocations: 10.44 MB / 3.705 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/18.64, allocations: 1.412 MB / 3.706 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003065/18.65, allocations: 376.6 kB / 3.706 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/18.65, allocations: 0.6396 MB / 3.707 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.986e-05/18.65, allocations: 0 / 3.707 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2326/18.88, allocations: 72.29 MB / 3.778 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003822/18.88, allocations: 244.6 kB / 3.778 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/26.89, allocations: 0 / 3.778 GB, free: 100.1 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)