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.001116/0.001116, allocations: 174.6 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.7779/0.7779, 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.536/1.536, allocations: 221.3 MB / 400.4 MB, free: 5.883 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.001015/0.001015, allocations: 98.7 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.521e-05/5.538e-05, allocations: 3.906 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.174, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.958/5.132, allocations: 1.893 GB / 2.534 GB, free: 37.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/5.132, allocations: 83.95 kB / 2.534 GB, free: 37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.577/9.71, allocations: 1.098 GB / 3.632 GB, free: 105.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/9.71, allocations: 0 / 3.632 GB, free: 105.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002334/9.71, allocations: 57 kB / 3.632 GB, free: 105.7 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.005997/9.716, allocations: 1.881 MB / 3.634 GB, free: 105.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/9.716, allocations: 9.719 kB / 3.634 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006712/9.717, allocations: 205.7 kB / 3.634 GB, free: 105.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/9.721, allocations: 0.4917 MB / 3.635 GB, free: 105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005894/9.727, allocations: 1.564 MB / 3.636 GB, free: 104.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/9.727, allocations: 114.6 kB / 3.636 GB, free: 104.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005873/9.727, allocations: 154.6 kB / 3.637 GB, free: 104.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/9.732, allocations: 1.683 MB / 3.638 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.124e-05/9.732, allocations: 10.12 kB / 3.638 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/9.732, allocations: 60.31 kB / 3.638 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/9.732, allocations: 50.7 kB / 3.638 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/9.735, allocations: 1.32 MB / 3.64 GB, free: 104.4 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.01128/9.746, allocations: 7.391 MB / 3.647 GB, free: 100.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/9.748, allocations: 0.9984 MB / 3.648 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/9.749, allocations: 0.6796 MB / 3.648 GB, free: 100.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/9.749, allocations: 112.8 kB / 3.649 GB, free: 100.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/9.749, allocations: 53 kB / 3.649 GB, free: 100.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002006/9.751, allocations: 328 kB / 3.649 GB, free: 100.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 1.284e-05/9.751, allocations: 1.469 kB / 3.649 GB, free: 100.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.01109/9.762, allocations: 3.691 MB / 3.653 GB, free: 98.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/9.762, allocations: 169.2 kB / 3.653 GB, free: 98.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/9.765, allocations: 1.076 MB / 3.654 GB, free: 98.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002168/9.765, allocations: 53.02 kB / 3.654 GB, free: 98.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/9.765, allocations: 0.6978 MB / 3.655 GB, free: 98.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004433/9.766, allocations: 398.2 kB / 3.655 GB, free: 98.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/9.766, allocations: 34.53 kB / 3.655 GB, free: 98.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001098/9.766, allocations: 358.7 kB / 3.655 GB, free: 97.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/9.767, allocations: 0.491 MB / 3.656 GB, free: 97.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/9.768, allocations: 0.8322 MB / 3.657 GB, free: 97.36 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.01701/9.785, allocations: 4.018 MB / 3.66 GB, free: 97.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/9.785, allocations: 3.625 kB / 3.66 GB, free: 97.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002824/9.788, allocations: 1.554 MB / 3.662 GB, free: 96.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/9.788, allocations: 11.75 kB / 3.662 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/9.788, allocations: 7.875 kB / 3.662 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/9.788, allocations: 15.03 kB / 3.662 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/9.789, allocations: 294.2 kB / 3.662 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.801e-05/9.789, allocations: 19.72 kB / 3.662 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/9.791, allocations: 94 kB / 3.662 GB, free: 96.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/9.791, allocations: 64.12 kB / 3.662 GB, free: 96.88 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 (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.0003465/9.792, allocations: 199.2 kB / 3.663 GB, free: 96.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005905/9.792, allocations: 162 kB / 3.663 GB, free: 96.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/9.794, allocations: 1.223 MB / 3.664 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/9.794, allocations: 18.41 kB / 3.664 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/9.794, allocations: 0 / 3.664 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/9.796, allocations: 1.182 MB / 3.665 GB, free: 96.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006721/9.803, allocations: 3.71 MB / 3.669 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/9.803, allocations: 8.594 kB / 3.669 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/9.804, allocations: 258.3 kB / 3.669 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.191e-05/9.804, allocations: 20.47 kB / 3.669 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/9.804, allocations: 36.34 kB / 3.669 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-05/9.804, allocations: 23.44 kB / 3.669 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/9.804, allocations: 17.09 kB / 3.669 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/9.807, allocations: 2.82 MB / 3.672 GB, free: 93.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/9.808, allocations: 360.9 kB / 3.672 GB, free: 93.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006297/9.809, allocations: 34.97 kB / 3.672 GB, free: 93.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/9.812, allocations: 87.61 kB / 3.672 GB, free: 93.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/9.812, allocations: 102.4 kB / 3.672 GB, free: 93.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/9.812, allocations: 51.12 kB / 3.673 GB, free: 93.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002378/9.815, allocations: 0.8285 MB / 3.673 GB, free: 93.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/9.815, allocations: 5.562 kB / 3.673 GB, free: 93.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003916/9.819, allocations: 0.614 MB / 3.674 GB, free: 93.25 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.01096/9.83, allocations: 8.143 MB / 3.682 GB, free: 87.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003516/9.833, allocations: 1.18 MB / 3.683 GB, free: 87.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/9.833, allocations: 4.781 kB / 3.683 GB, free: 87.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/9.834, allocations: 0.5219 MB / 3.684 GB, free: 87.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008077/9.843, allocations: 0.8697 MB / 3.684 GB, free: 87.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/9.853, allocations: 3.171 MB / 3.687 GB, free: 86.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/9.855, allocations: 1.409 MB / 3.689 GB, free: 86.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003014/9.858, allocations: 382.1 kB / 3.689 GB, free: 86.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/9.859, allocations: 0.6333 MB / 3.69 GB, free: 86.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.723e-06/9.859, allocations: 0 / 3.69 GB, free: 86.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1453/10, allocations: 78.17 MB / 3.766 GB, free: 83.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/10, allocations: 209.9 kB / 3.766 GB, free: 83.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.851/14.86, allocations: 6.297 kB / 3.766 GB, free: 83.08 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)