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.001599/0.001599, 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.7515/0.7515, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.673/1.673, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.0008775/0.0008775, allocations: 101.2 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.84e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.044/5.214, allocations: 1.893 GB / 2.534 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/5.214, allocations: 83.95 kB / 2.534 GB, free: 36.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.238/9.452, allocations: 1.098 GB / 3.632 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.749e-06/9.452, allocations: 0 / 3.632 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003499/9.453, allocations: 57.23 kB / 3.632 GB, free: 3.797 MB / 0.7136 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.008841/9.461, allocations: 1.879 MB / 3.634 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7e-05/9.461, allocations: 12.03 kB / 3.634 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009291/9.462, allocations: 210.8 kB / 3.634 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/9.468, allocations: 0.4894 MB / 3.635 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6365/10.1, allocations: 1.56 MB / 3.636 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004197/10.11, allocations: 110 kB / 3.636 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/10.11, allocations: 152.7 kB / 3.637 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009013/10.12, allocations: 1.689 MB / 3.638 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/10.12, allocations: 2.531 kB / 3.638 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006789/10.12, allocations: 62.39 kB / 3.638 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/10.12, allocations: 57.64 kB / 3.638 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/10.12, allocations: 1.319 MB / 3.64 GB, free: 114.1 MB / 0.7136 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.01654/10.14, allocations: 7.378 MB / 3.647 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/10.14, allocations: 0.9998 MB / 3.648 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/10.14, allocations: 0.6786 MB / 3.648 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/10.14, allocations: 119 kB / 3.649 GB, free: 110 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/10.14, allocations: 51.36 kB / 3.649 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00258/10.15, allocations: 326.5 kB / 3.649 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 1.7e-05/10.15, allocations: 0 / 3.649 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.01517/10.16, allocations: 3.694 MB / 3.653 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/10.16, allocations: 168.9 kB / 3.653 GB, free: 108.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004012/10.17, allocations: 1.073 MB / 3.654 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004652/10.17, allocations: 51.64 kB / 3.654 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/10.17, allocations: 0.7033 MB / 3.654 GB, free: 108 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008932/10.17, allocations: 398.1 kB / 3.655 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/10.17, allocations: 34.09 kB / 3.655 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001895/10.17, allocations: 364.7 kB / 3.655 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/10.17, allocations: 0.489 MB / 3.656 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/10.17, allocations: 0.8263 MB / 3.657 GB, free: 107.2 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.02667/10.2, allocations: 4.022 MB / 3.66 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/10.2, allocations: 2.156 kB / 3.66 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005771/10.2, allocations: 1.556 MB / 3.662 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/10.2, allocations: 8.594 kB / 3.662 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/10.2, allocations: 8.594 kB / 3.662 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.894e-05/10.2, allocations: 15.59 kB / 3.662 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/10.21, allocations: 294.6 kB / 3.662 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-05/10.21, allocations: 22.05 kB / 3.662 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/10.21, allocations: 90.66 kB / 3.662 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/10.21, allocations: 64.23 kB / 3.662 GB, free: 106.7 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 () * 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.0006209/10.21, allocations: 195.5 kB / 3.663 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/10.21, allocations: 167 kB / 3.663 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/10.22, allocations: 1.232 MB / 3.664 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/10.22, allocations: 14.64 kB / 3.664 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/10.22, allocations: 2.469 kB / 3.664 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002872/10.22, allocations: 1.184 MB / 3.665 GB, free: 106 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/10.23, allocations: 3.701 MB / 3.669 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-05/10.23, allocations: 12.31 kB / 3.669 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/10.23, allocations: 252.6 kB / 3.669 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.325e-05/10.23, allocations: 20.69 kB / 3.669 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/10.23, allocations: 35.38 kB / 3.669 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-05/10.23, allocations: 22.44 kB / 3.669 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-05/10.23, allocations: 16 kB / 3.669 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/10.24, allocations: 2.818 MB / 3.672 GB, free: 103.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/10.24, allocations: 358.5 kB / 3.672 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/10.24, allocations: 40.12 kB / 3.672 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/10.24, allocations: 100.2 kB / 3.672 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/10.24, allocations: 97.58 kB / 3.672 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/10.24, allocations: 52.98 kB / 3.673 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00189/10.25, allocations: 0.8289 MB / 3.673 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/10.25, allocations: 0 / 3.673 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003942/10.25, allocations: 0.6198 MB / 3.674 GB, free: 103.1 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 () * 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.01049/10.26, allocations: 8.132 MB / 3.682 GB, free: 97.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003418/10.26, allocations: 1.181 MB / 3.683 GB, free: 97.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.546e-05/10.26, allocations: 3.094 kB / 3.683 GB, free: 97.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/10.26, allocations: 0.5285 MB / 3.684 GB, free: 97.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007369/10.27, allocations: 0.8708 MB / 3.684 GB, free: 97.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/10.28, allocations: 3.176 MB / 3.688 GB, free: 96.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/10.28, allocations: 1.405 MB / 3.689 GB, free: 96.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002609/10.29, allocations: 378.6 kB / 3.689 GB, free: 96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/10.29, allocations: 0.6361 MB / 3.69 GB, free: 96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/10.29, allocations: 3.406 kB / 3.69 GB, free: 96 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1618/10.45, allocations: 78.17 MB / 3.766 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/10.45, allocations: 217.8 kB / 3.766 GB, free: 93.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.87/15.32, allocations: 0 / 3.766 GB, free: 93.26 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)