Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001188/0.001188, allocations: 104.8 kB / 15.99 MB, free: 6.352 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.001273/0.001273, allocations: 194.6 kB / 16.91 MB, free: 6.195 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.476/1.476, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7953/0.7953, allocations: 126.1 MB / 416.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 0.4945 GB, free: 3.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4261, allocations: 78.69 MB / 0.5713 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7224/1.149, allocations: 239.7 MB / 0.8054 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03388/1.182, allocations: 15.86 MB / 0.8209 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004901/1.187, allocations: 72.12 kB / 0.821 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004918/1.192, allocations: 1.053 MB / 0.822 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01705/1.21, allocations: 3.583 MB / 0.8255 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007679/1.217, allocations: 1.655 MB / 0.8271 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01086/1.228, allocations: 5.263 MB / 0.8323 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004693/1.233, allocations: 1.625 MB / 0.8339 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/1.243, allocations: 2.611 MB / 0.8364 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006527/1.249, allocations: 1.808 MB / 0.8382 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001403/1.251, allocations: 176 kB / 0.8383 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/1.261, allocations: 2.832 MB / 0.8411 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002798/1.264, allocations: 0.7736 MB / 0.8419 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004737/1.269, allocations: 1.153 MB / 0.843 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/1.282, allocations: 3.718 MB / 0.8466 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/1.282, allocations: 0 / 0.8466 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.659e-06/1.282, allocations: 0 / 0.8466 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001854/1.282, allocations: 2.625 kB / 0.8466 GB, free: 10.94 MB / 0.5919 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.01077/1.293, allocations: 2.495 MB / 0.8491 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/1.293, allocations: 8.344 kB / 0.8491 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/1.299, allocations: 0.5063 MB / 0.8496 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004789/1.304, allocations: 1.278 MB / 0.8508 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/1.304, allocations: 177 kB / 0.851 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006883/1.305, allocations: 151.9 kB / 0.8511 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006204/1.311, allocations: 1.741 MB / 0.8528 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.212e-05/1.311, allocations: 0 / 0.8528 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/1.311, allocations: 64 kB / 0.8529 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/1.311, allocations: 61.22 kB / 0.8529 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004415/1.316, allocations: 1.374 MB / 0.8543 GB, free: 3.906 MB / 0.5919 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.01589/1.332, allocations: 8.192 MB / 0.8623 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/1.334, allocations: 0.9027 MB / 0.8632 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.336, allocations: 0.538 MB / 0.8637 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000999/1.337, allocations: 325.7 kB / 0.864 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/1.337, allocations: 47.5 kB / 0.864 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 3.947e-06/1.337, allocations: 0 / 0.864 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.01276/1.35, allocations: 3.118 MB / 0.8671 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/1.35, allocations: 68.34 kB / 0.8672 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/1.353, allocations: 1.258 MB / 0.8684 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/1.354, allocations: 49.7 kB / 0.8684 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.355, allocations: 0.8185 MB / 0.8692 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005883/1.355, allocations: 366.3 kB / 0.8696 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006365/1.356, allocations: 218.8 kB / 0.8698 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002204/1.356, allocations: 353.9 kB / 0.8701 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/1.358, allocations: 449.8 kB / 0.8706 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/1.36, allocations: 0.8311 MB / 0.8714 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/1.363, allocations: 1.249 MB / 0.8726 GB, free: 216 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.363, allocations: 0 / 0.8726 GB, free: 216 kB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003967/1.367, allocations: 1.404 MB / 0.874 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.367, allocations: 8 kB / 0.874 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/1.367, allocations: 15.98 kB / 0.874 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.572e-05/1.367, allocations: 12 kB / 0.874 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.368, allocations: 282.3 kB / 0.8743 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.76e-05/1.368, allocations: 25.08 kB / 0.8743 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/1.371, allocations: 179.5 kB / 0.8745 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.371, allocations: 48 kB / 0.8745 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002236/1.374, allocations: 0.7718 MB / 0.8753 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001833/1.375, allocations: 0.8253 MB / 0.8761 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003113/1.379, allocations: 1.233 MB / 0.8773 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.095e-05/1.379, allocations: 0 / 0.8773 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.004199/1.383, allocations: 1.384 MB / 0.8786 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.383, allocations: 12.88 kB / 0.8786 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/1.383, allocations: 12 kB / 0.8786 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.383, allocations: 12 kB / 0.8787 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/1.385, allocations: 282 kB / 0.8789 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.946e-05/1.385, allocations: 21.16 kB / 0.8789 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.388, allocations: 184.3 kB / 0.8791 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.388, allocations: 55.98 kB / 0.8792 GB, free: 9.359 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005174/1.388, allocations: 254.9 kB / 0.8794 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006887/1.389, allocations: 166 kB / 0.8796 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/1.393, allocations: 1.161 MB / 0.8807 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.393, allocations: 8 kB / 0.8807 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.393, allocations: 3.938 kB / 0.8807 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002738/1.395, allocations: 1.075 MB / 0.8818 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008081/1.404, allocations: 2.793 MB / 0.8845 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.404, allocations: 0 / 0.8845 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.405, allocations: 246 kB / 0.8847 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-05/1.405, allocations: 8.219 kB / 0.8847 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/1.405, allocations: 27.98 kB / 0.8848 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/1.405, allocations: 6.625 kB / 0.8848 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.405, allocations: 0 / 0.8848 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/1.408, allocations: 1.776 MB / 0.8865 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.409, allocations: 339 kB / 0.8868 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/1.41, allocations: 28 kB / 0.8869 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/1.412, allocations: 135.7 kB / 0.887 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.412, allocations: 67.47 kB / 0.887 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.412, allocations: 39.98 kB / 0.8871 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001421/1.413, allocations: 0.8465 MB / 0.8879 GB, free: 280 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.413, allocations: 0 / 0.8879 GB, free: 280 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002958/1.416, allocations: 0.7696 MB / 0.8887 GB, free: 15.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (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.0007595/1.417, allocations: 279.3 kB / 0.8889 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004838/1.422, allocations: 1.998 MB / 0.8909 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.422, allocations: 4.062 kB / 0.8909 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.423, allocations: 0.5163 MB / 0.8914 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004916/1.428, allocations: 0.9115 MB / 0.8923 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/1.435, allocations: 4.18 MB / 0.8964 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/1.437, allocations: 1.437 MB / 0.8978 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00245/1.439, allocations: 0.5561 MB / 0.8983 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/1.44, allocations: 127.4 kB / 0.8984 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/1.44, allocations: 0 / 0.8984 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of Templates: time 0.05674/1.497, allocations: 30.93 MB / 0.9286 GB, free: 7.207 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)