Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7086/0.7086, allocations: 133.4 MB / 150.1 MB, free: 11.14 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: 222.9 MB / 404.7 MB, free: 6.055 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.001071/0.001071, allocations: 102.7 kB / 485.9 MB, free: 7.215 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 55.92 kB / 0.5636 GB, free: 69.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1431, allocations: 80.42 MB / 0.6421 GB, free: 5.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4893/0.6324, allocations: 179.6 MB / 0.8175 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007881/0.6403, allocations: 5.424 MB / 0.8228 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007752/0.6411, allocations: 27.81 kB / 0.8229 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.6421, allocations: 374.1 kB / 0.8232 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.6456, allocations: 1.577 MB / 0.8248 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.6473, allocations: 0.7214 MB / 0.8255 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.6502, allocations: 2.979 MB / 0.8284 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007529/0.6509, allocations: 0.5905 MB / 0.8289 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009261/0.6519, allocations: 0.6339 MB / 0.8296 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.6537, allocations: 0.698 MB / 0.8302 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.364e-05/0.6538, allocations: 36 kB / 0.8303 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.6565, allocations: 1.609 MB / 0.8319 GB, free: 14.9 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.6568, allocations: 279 kB / 0.8321 GB, free: 14.63 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.6572, allocations: 429.8 kB / 0.8325 GB, free: 14.21 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6592, allocations: 1.706 MB / 0.8342 GB, free: 12.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6593, allocations: 0 / 0.8342 GB, free: 12.5 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6593, allocations: 4 kB / 0.8342 GB, free: 12.49 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.6593, allocations: 0 / 0.8342 GB, free: 12.49 MB / 0.573 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.001664/0.6609, allocations: 1.176 MB / 0.8353 GB, free: 11.27 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.661, allocations: 8.031 kB / 0.8354 GB, free: 11.26 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.6626, allocations: 274.7 kB / 0.8356 GB, free: 10.99 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.6637, allocations: 0.6748 MB / 0.8363 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.6638, allocations: 45.31 kB / 0.8363 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.6638, allocations: 60 kB / 0.8364 GB, free: 10.16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.6648, allocations: 0.5765 MB / 0.8369 GB, free: 9.586 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.6648, allocations: 0 / 0.8369 GB, free: 9.586 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.6649, allocations: 23.94 kB / 0.837 GB, free: 9.562 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.6649, allocations: 21.31 kB / 0.837 GB, free: 9.539 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008465/0.6658, allocations: 0.5009 MB / 0.8375 GB, free: 9.035 MB / 0.573 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.003045/0.6688, allocations: 2.384 MB / 0.8398 GB, free: 6.461 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.6695, allocations: 421.1 kB / 0.8402 GB, free: 6.043 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.6699, allocations: 222.5 kB / 0.8404 GB, free: 5.824 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.6701, allocations: 105 kB / 0.8405 GB, free: 5.703 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6701, allocations: 38.56 kB / 0.8406 GB, free: 5.656 MB / 0.573 GB Notification: Performance of pre-optimization done (n=43): time 1.873e-06/0.6701, allocations: 0 / 0.8406 GB, free: 5.656 MB / 0.573 GB Notification: Performance of matching and sorting (n=48): time 0.002766/0.6729, allocations: 1.438 MB / 0.842 GB, free: 4.164 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.6729, allocations: 59.83 kB / 0.842 GB, free: 4.094 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.6735, allocations: 0.5383 MB / 0.8425 GB, free: 3.547 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.6735, allocations: 33.7 kB / 0.8426 GB, free: 3.508 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.6737, allocations: 324.7 kB / 0.8429 GB, free: 3.184 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.6739, allocations: 173.5 kB / 0.843 GB, free: 3.012 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.674, allocations: 86.17 kB / 0.8431 GB, free: 2.922 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6742, allocations: 378.7 kB / 0.8435 GB, free: 2.543 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.6745, allocations: 169 kB / 0.8437 GB, free: 2.375 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.6749, allocations: 260.8 kB / 0.8439 GB, free: 2.102 MB / 0.573 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.003262/0.6782, allocations: 1.428 MB / 0.8453 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6782, allocations: 0 / 0.8453 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008618/0.679, allocations: 0.5226 MB / 0.8458 GB, free: 92 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.6791, allocations: 4 kB / 0.8458 GB, free: 88 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6791, allocations: 0 / 0.8458 GB, free: 88 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6791, allocations: 4 kB / 0.8458 GB, free: 84 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.6796, allocations: 103.9 kB / 0.8459 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.6796, allocations: 8.156 kB / 0.8459 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.6802, allocations: 41.02 kB / 0.846 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.6803, allocations: 16 kB / 0.846 GB, free: 15.91 MB / 0.5886 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.0003199/0.6806, allocations: 247.5 kB / 0.8462 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.6807, allocations: 71.08 kB / 0.8463 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.6809, allocations: 82.44 kB / 0.8464 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6809, allocations: 8 kB / 0.8464 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.6809, allocations: 0 / 0.8464 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007031/0.6816, allocations: 0.5144 MB / 0.8469 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.684, allocations: 1.576 MB / 0.8484 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.684, allocations: 4 kB / 0.8484 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.6846, allocations: 120.4 kB / 0.8485 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.6846, allocations: 8 kB / 0.8485 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.6846, allocations: 20 kB / 0.8486 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.6846, allocations: 8 kB / 0.8486 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.6846, allocations: 11.88 kB / 0.8486 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.6889, allocations: 3.325 MB / 0.8518 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.6892, allocations: 200.2 kB / 0.852 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.6893, allocations: 16 kB / 0.852 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.6899, allocations: 39.92 kB / 0.8521 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.69, allocations: 43.83 kB / 0.8521 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.6901, allocations: 23.98 kB / 0.8521 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004597/0.6905, allocations: 398.8 kB / 0.8525 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.563e-06/0.6905, allocations: 4 kB / 0.8525 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009116/0.6914, allocations: 295.9 kB / 0.8528 GB, free: 8.555 MB / 0.5886 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.0003691/0.6918, allocations: 190.6 kB / 0.853 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007419/0.6926, allocations: 437.2 kB / 0.8534 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.6926, allocations: 4 kB / 0.8534 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.693, allocations: 241.4 kB / 0.8536 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.6952, allocations: 468.8 kB / 0.8541 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.6978, allocations: 2.15 MB / 0.8562 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.6983, allocations: 0.9888 MB / 0.8571 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006189/0.6989, allocations: 165.9 kB / 0.8573 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.6991, allocations: 55.44 kB / 0.8574 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/0.6991, allocations: 0 / 0.8574 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of Templates: time 0.02304/0.7221, allocations: 14.84 MB / 0.8718 GB, free: 5.094 MB / 0.6042 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)