Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7326/0.7326, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.84 kB / 0.5018 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4208, allocations: 80.19 MB / 0.5801 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2015/0.6224, allocations: 181.9 MB / 0.7577 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008329/0.6308, allocations: 5.344 MB / 0.7629 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.6318, allocations: 35.81 kB / 0.7629 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.633, allocations: 433.4 kB / 0.7634 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.6372, allocations: 1.672 MB / 0.765 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.639, allocations: 0.7964 MB / 0.7658 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002574/0.6416, allocations: 2.187 MB / 0.7679 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.6427, allocations: 0.6812 MB / 0.7686 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.6437, allocations: 0.7316 MB / 0.7693 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.6451, allocations: 0.6846 MB / 0.7699 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.6453, allocations: 76 kB / 0.77 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.648, allocations: 1.399 MB / 0.7714 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.6483, allocations: 315.2 kB / 0.7717 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.6488, allocations: 473.8 kB / 0.7721 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.6508, allocations: 1.636 MB / 0.7737 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6508, allocations: 0 / 0.7737 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6509, allocations: 0 / 0.7737 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.6509, allocations: 3.938 kB / 0.7737 GB, free: 10.5 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001695/0.6526, allocations: 1.18 MB / 0.7749 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.6526, allocations: 12.03 kB / 0.7749 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.6544, allocations: 270.7 kB / 0.7752 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/0.6553, allocations: 0.667 MB / 0.7758 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.6554, allocations: 45.31 kB / 0.7759 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6555, allocations: 56 kB / 0.7759 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.6565, allocations: 0.5882 MB / 0.7765 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.6566, allocations: 0 / 0.7765 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.6566, allocations: 28 kB / 0.7765 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.6567, allocations: 21.3 kB / 0.7765 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008135/0.6575, allocations: 0.497 MB / 0.777 GB, free: 7.039 MB / 0.6075 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.002792/0.6603, allocations: 2.388 MB / 0.7794 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.6609, allocations: 419 kB / 0.7798 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.6613, allocations: 227.6 kB / 0.78 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.6614, allocations: 101 kB / 0.7801 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6615, allocations: 38.56 kB / 0.7801 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.6615, allocations: 0 / 0.7801 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.002633/0.6641, allocations: 1.443 MB / 0.7815 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.6642, allocations: 59.84 kB / 0.7816 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.6647, allocations: 0.5382 MB / 0.7821 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.6648, allocations: 37.7 kB / 0.7821 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.665, allocations: 324.7 kB / 0.7824 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.6652, allocations: 173.5 kB / 0.7826 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.6653, allocations: 94.16 kB / 0.7827 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6654, allocations: 366.8 kB / 0.783 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.6657, allocations: 177 kB / 0.7832 GB, free: 380 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.6661, allocations: 260.8 kB / 0.7835 GB, free: 100 kB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.6692, allocations: 1.424 MB / 0.7849 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6692, allocations: 4 kB / 0.7849 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008039/0.67, allocations: 0.5265 MB / 0.7854 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.67, allocations: 4 kB / 0.7854 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.6701, allocations: 4 kB / 0.7854 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.6701, allocations: 7.984 kB / 0.7854 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.6705, allocations: 92.06 kB / 0.7855 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6705, allocations: 7.938 kB / 0.7855 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.6711, allocations: 23.92 kB / 0.7855 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.6711, allocations: 16 kB / 0.7855 GB, free: 13.93 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.6714, allocations: 245.7 kB / 0.7858 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.6716, allocations: 71.16 kB / 0.7858 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.6717, allocations: 74.45 kB / 0.7859 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6717, allocations: 8 kB / 0.7859 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6717, allocations: 3.938 kB / 0.7859 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006887/0.6724, allocations: 0.5183 MB / 0.7864 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.6746, allocations: 1.582 MB / 0.788 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.6746, allocations: 4 kB / 0.788 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.6751, allocations: 115.9 kB / 0.7881 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.6751, allocations: 8 kB / 0.7881 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.6752, allocations: 16 kB / 0.7881 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.6752, allocations: 19.86 kB / 0.7881 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6752, allocations: 4 kB / 0.7881 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.6763, allocations: 0.9429 MB / 0.789 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.6766, allocations: 196.2 kB / 0.7892 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.6767, allocations: 19.98 kB / 0.7892 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.6772, allocations: 23.94 kB / 0.7893 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.6773, allocations: 47.83 kB / 0.7893 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.6773, allocations: 23.98 kB / 0.7893 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004243/0.6778, allocations: 398.8 kB / 0.7897 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6778, allocations: 0 / 0.7897 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006792/0.6785, allocations: 200 kB / 0.7899 GB, free: 9.184 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004675/0.6789, allocations: 188.8 kB / 0.7901 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000845/0.6798, allocations: 481.3 kB / 0.7905 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6798, allocations: 0 / 0.7905 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.6802, allocations: 231.6 kB / 0.7908 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6822, allocations: 493.2 kB / 0.7912 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.6844, allocations: 1.547 MB / 0.7927 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.685, allocations: 0.9845 MB / 0.7937 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006766/0.6857, allocations: 161.9 kB / 0.7939 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.6858, allocations: 55.44 kB / 0.7939 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.6858, allocations: 7.938 kB / 0.7939 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of Templates: time 0.02345/0.7093, allocations: 14.85 MB / 0.8084 GB, free: 6.371 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)