Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008722/0.0008721, allocations: 99.86 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.0008447/0.0008447, 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.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8347/0.8347, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003077, allocations: 10.41 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 82.3 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.429/0.5741, allocations: 198.8 MB / 0.7813 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.593, allocations: 14.77 MB / 0.7957 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.5951, allocations: 63.56 kB / 0.7958 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.598, allocations: 1.065 MB / 0.7968 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008801/0.6068, allocations: 3.51 MB / 0.8003 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004778/0.6116, allocations: 1.738 MB / 0.802 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00566/0.6173, allocations: 3.059 MB / 0.8049 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.6192, allocations: 1.303 MB / 0.8062 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.6232, allocations: 1.815 MB / 0.808 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.6253, allocations: 1.105 MB / 0.8091 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.6255, allocations: 84 kB / 0.8091 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.6283, allocations: 1.248 MB / 0.8104 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005504/0.6289, allocations: 0.6116 MB / 0.811 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.6294, allocations: 440.6 kB / 0.8114 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.6315, allocations: 2.283 MB / 0.8136 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.6315, allocations: 4 kB / 0.8136 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6315, allocations: 0 / 0.8136 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.6315, allocations: 0 / 0.8136 GB, free: 4.625 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.003304/0.6349, allocations: 2.087 MB / 0.8157 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6349, allocations: 8.031 kB / 0.8157 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.6378, allocations: 0.5048 MB / 0.8162 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.6401, allocations: 1.219 MB / 0.8173 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.6402, allocations: 178.2 kB / 0.8175 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.6405, allocations: 148 kB / 0.8177 GB, free: 372 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.6432, allocations: 1.729 MB / 0.8193 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.6432, allocations: 7.922 kB / 0.8194 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.6434, allocations: 60 kB / 0.8194 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/0.6434, allocations: 58.7 kB / 0.8195 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.6457, allocations: 1.381 MB / 0.8208 GB, free: 13.05 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.009032/0.6548, allocations: 8.185 MB / 0.8288 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.6563, allocations: 0.9154 MB / 0.8297 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.6567, allocations: 158.3 kB / 0.8299 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.6567, allocations: 47.5 kB / 0.8299 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=96): time 4.118e-06/0.6568, allocations: 4 kB / 0.8299 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of matching and sorting (n=102): time 0.00637/0.6631, allocations: 3.149 MB / 0.833 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.6632, allocations: 68.41 kB / 0.833 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.6646, allocations: 1.246 MB / 0.8343 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.6646, allocations: 49.7 kB / 0.8343 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.6652, allocations: 0.8094 MB / 0.8351 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.6655, allocations: 374.6 kB / 0.8355 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.6655, allocations: 20 kB / 0.8355 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6657, allocations: 357.9 kB / 0.8358 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007497/0.6664, allocations: 442.3 kB / 0.8362 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.6674, allocations: 0.8235 MB / 0.837 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/0.6683, allocations: 0.5572 MB / 0.8376 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6683, allocations: 4 kB / 0.8376 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002194/0.6705, allocations: 1.395 MB / 0.839 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001352/0.6719, allocations: 3.661 MB / 0.8425 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.6719, allocations: 8 kB / 0.8425 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.672, allocations: 16 kB / 0.8426 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.673, allocations: 287.5 kB / 0.8428 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.6731, allocations: 19.94 kB / 0.8428 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.6746, allocations: 170 kB / 0.843 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.6747, allocations: 51.98 kB / 0.8431 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.6747, allocations: 8 kB / 0.8431 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00189/0.6766, allocations: 1.222 MB / 0.8443 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.6766, allocations: 12.88 kB / 0.8443 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.6766, allocations: 16 kB / 0.8443 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.6777, allocations: 284.4 kB / 0.8446 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.6777, allocations: 19.89 kB / 0.8446 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.6792, allocations: 168.8 kB / 0.8447 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.6793, allocations: 44 kB / 0.8448 GB, free: 3.156 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.0008149/0.6801, allocations: 0.5084 MB / 0.8453 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.6803, allocations: 166 kB / 0.8454 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.6823, allocations: 1.164 MB / 0.8466 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6824, allocations: 12 kB / 0.8466 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6824, allocations: 7.891 kB / 0.8466 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001558/0.6839, allocations: 1.092 MB / 0.8477 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/0.6883, allocations: 2.786 MB / 0.8504 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6883, allocations: 224 / 0.8504 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.6894, allocations: 256.6 kB / 0.8506 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.6894, allocations: 8 kB / 0.8506 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.6895, allocations: 20 kB / 0.8506 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.6895, allocations: 15.92 kB / 0.8507 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6895, allocations: 0 / 0.8507 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.6922, allocations: 1.937 MB / 0.8526 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/0.693, allocations: 339.2 kB / 0.8529 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.6932, allocations: 28.73 kB / 0.8529 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6944, allocations: 139.7 kB / 0.853 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6945, allocations: 76.84 kB / 0.8531 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.6946, allocations: 35.98 kB / 0.8531 GB, free: 10.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001135/0.6957, allocations: 0.8309 MB / 0.854 GB, free: 9.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6957, allocations: 0 / 0.854 GB, free: 9.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001818/0.6975, allocations: 0.7655 MB / 0.8547 GB, free: 8.734 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.0004835/0.698, allocations: 284 kB / 0.855 GB, free: 8.457 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002875/0.7009, allocations: 1.732 MB / 0.8567 GB, free: 6.727 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.701, allocations: 8.062 kB / 0.8567 GB, free: 6.719 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.7018, allocations: 0.5208 MB / 0.8572 GB, free: 6.203 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/0.7058, allocations: 0.9522 MB / 0.8581 GB, free: 5.277 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/0.7111, allocations: 4.197 MB / 0.8622 GB, free: 1.023 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2182/0.9293, allocations: 1.477 MB / 0.8637 GB, free: 214.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001923/0.9313, allocations: 0.5548 MB / 0.8642 GB, free: 214.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.9316, allocations: 126.9 kB / 0.8643 GB, free: 214.2 MB / 0.67 GB Notification: Performance of SimCode: time 7.32e-07/0.9316, allocations: 0 / 0.8643 GB, free: 214.2 MB / 0.67 GB Notification: Performance of Templates: time 0.04041/0.972, allocations: 29.35 MB / 0.893 GB, free: 212 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: