Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008063, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008235/0.0008234, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8284/0.8284, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 12 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4208/0.5649, allocations: 198.8 MB / 0.7813 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.5837, allocations: 14.75 MB / 0.7957 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.5857, allocations: 71.5 kB / 0.7958 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.5886, allocations: 1.065 MB / 0.7968 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009229/0.5979, allocations: 3.518 MB / 0.8003 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004841/0.6027, allocations: 1.726 MB / 0.8019 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005009/0.6077, allocations: 3.068 MB / 0.8049 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.6096, allocations: 1.304 MB / 0.8062 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.613, allocations: 1.803 MB / 0.808 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.6148, allocations: 1.105 MB / 0.8091 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.615, allocations: 84 kB / 0.8091 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.6179, allocations: 1.256 MB / 0.8104 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005925/0.6185, allocations: 0.6077 MB / 0.811 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.6191, allocations: 444.6 kB / 0.8114 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.6215, allocations: 2.28 MB / 0.8136 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.6215, allocations: 0 / 0.8136 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6215, allocations: 0 / 0.8136 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.088e-05/0.6216, allocations: 0 / 0.8136 GB, free: 4.57 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00364/0.6252, allocations: 2.091 MB / 0.8157 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6252, allocations: 12.03 kB / 0.8157 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/0.6282, allocations: 0.5048 MB / 0.8162 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.6307, allocations: 1.215 MB / 0.8173 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.6309, allocations: 178.2 kB / 0.8175 GB, free: 460 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.6311, allocations: 154.9 kB / 0.8177 GB, free: 308 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.6339, allocations: 1.729 MB / 0.8193 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.6339, allocations: 7.938 kB / 0.8194 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.634, allocations: 60 kB / 0.8194 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.156e-05/0.6341, allocations: 62.69 kB / 0.8195 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.6365, allocations: 1.381 MB / 0.8208 GB, free: 12.98 MB / 0.6387 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.008966/0.6455, allocations: 8.181 MB / 0.8288 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.6469, allocations: 0.9115 MB / 0.8297 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003814/0.6473, allocations: 158.3 kB / 0.8299 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.6473, allocations: 51.56 kB / 0.8299 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=96): time 2.154e-06/0.6473, allocations: 0 / 0.8299 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of matching and sorting (n=102): time 0.006325/0.6536, allocations: 3.149 MB / 0.833 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.6537, allocations: 68.34 kB / 0.833 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.6551, allocations: 1.246 MB / 0.8343 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/0.6552, allocations: 53.7 kB / 0.8343 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/0.6558, allocations: 0.8132 MB / 0.8351 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.656, allocations: 366.6 kB / 0.8355 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.6561, allocations: 27.94 kB / 0.8355 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6562, allocations: 357.9 kB / 0.8358 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007401/0.657, allocations: 430.4 kB / 0.8362 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.658, allocations: 0.8274 MB / 0.837 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/0.6589, allocations: 0.5572 MB / 0.8376 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.6589, allocations: 4 kB / 0.8376 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002241/0.6612, allocations: 1.398 MB / 0.839 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.6624, allocations: 3.66 MB / 0.8425 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6624, allocations: 9.016 kB / 0.8425 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.6625, allocations: 20 kB / 0.8426 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.6636, allocations: 283.5 kB / 0.8428 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.6636, allocations: 15.94 kB / 0.8428 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6651, allocations: 171.5 kB / 0.843 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.6652, allocations: 52 kB / 0.8431 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.6652, allocations: 4 kB / 0.8431 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001875/0.6671, allocations: 1.23 MB / 0.8443 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6671, allocations: 8 kB / 0.8443 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6671, allocations: 16 kB / 0.8443 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6681, allocations: 271.6 kB / 0.8445 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.6682, allocations: 27.88 kB / 0.8446 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6695, allocations: 168.9 kB / 0.8447 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/0.6696, allocations: 54.38 kB / 0.8448 GB, free: 3.094 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0006854/0.6703, allocations: 0.5006 MB / 0.8453 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.6705, allocations: 170 kB / 0.8454 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.6724, allocations: 1.171 MB / 0.8466 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.6724, allocations: 8 kB / 0.8466 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6724, allocations: 11.89 kB / 0.8466 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001529/0.674, allocations: 1.088 MB / 0.8477 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/0.6784, allocations: 2.79 MB / 0.8504 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6785, allocations: 4 kB / 0.8504 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.6796, allocations: 252 kB / 0.8506 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.6796, allocations: 8 kB / 0.8506 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/0.6797, allocations: 27.98 kB / 0.8507 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.6797, allocations: 11.5 kB / 0.8507 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6797, allocations: 4 kB / 0.8507 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.6825, allocations: 1.941 MB / 0.8526 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/0.6832, allocations: 335 kB / 0.8529 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.6834, allocations: 24 kB / 0.8529 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.6847, allocations: 143.7 kB / 0.853 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.6849, allocations: 68.86 kB / 0.8531 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.685, allocations: 39.98 kB / 0.8532 GB, free: 10.26 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001192/0.6862, allocations: 0.8309 MB / 0.854 GB, free: 9.434 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6862, allocations: 0 / 0.854 GB, free: 9.434 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002013/0.6882, allocations: 0.7656 MB / 0.8547 GB, free: 8.668 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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.0005845/0.6888, allocations: 273.4 kB / 0.855 GB, free: 8.402 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002956/0.6917, allocations: 1.736 MB / 0.8567 GB, free: 6.668 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6918, allocations: 7.938 kB / 0.8567 GB, free: 6.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.6926, allocations: 0.5257 MB / 0.8572 GB, free: 6.141 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/0.6969, allocations: 0.9417 MB / 0.8581 GB, free: 5.219 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006191/0.7031, allocations: 4.205 MB / 0.8622 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2167/0.9198, allocations: 1.477 MB / 0.8637 GB, free: 214.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001866/0.9217, allocations: 0.5496 MB / 0.8642 GB, free: 214.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.9219, allocations: 132 kB / 0.8643 GB, free: 214.3 MB / 0.67 GB Notification: Performance of SimCode: time 6.22e-07/0.922, allocations: 0 / 0.8643 GB, free: 214.3 MB / 0.67 GB Notification: Performance of Templates: time 0.04112/0.9631, allocations: 29.34 MB / 0.893 GB, free: 212 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: