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.001285/0.001284, allocations: 87.41 kB / 16.66 MB, free: 5.742 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.00192/0.00192, allocations: 182.7 kB / 17.58 MB, free: 5.477 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.371/1.371, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7284/0.7284, allocations: 115.5 MB / 408.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 8.281 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4275, allocations: 77.52 MB / 0.5606 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6679/1.095, allocations: 237.2 MB / 0.7922 GB, free: 1.68 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.02145/1.117, allocations: 15.91 MB / 0.8077 GB, free: 1.352 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/1.121, allocations: 69.56 kB / 0.8078 GB, free: 1.352 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003783/1.125, allocations: 1.014 MB / 0.8088 GB, free: 1.328 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.011/1.136, allocations: 3.607 MB / 0.8123 GB, free: 1.133 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005281/1.141, allocations: 1.611 MB / 0.8139 GB, free: 1.09 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.009649/1.151, allocations: 7.423 MB / 0.8211 GB, free: 1.074 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/1.154, allocations: 1.381 MB / 0.8225 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00665/1.16, allocations: 2.308 MB / 0.8248 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005129/1.165, allocations: 1.729 MB / 0.8264 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009186/1.166, allocations: 81.78 kB / 0.8265 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007728/1.174, allocations: 3.137 MB / 0.8296 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001639/1.176, allocations: 0.6726 MB / 0.8302 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003444/1.179, allocations: 1.059 MB / 0.8313 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005688/1.185, allocations: 2.589 MB / 0.8338 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.185, allocations: 0 / 0.8338 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.545e-06/1.185, allocations: 0 / 0.8338 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001356/1.185, allocations: 0 / 0.8338 GB, free: 13.92 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.005655/1.191, allocations: 2.11 MB / 0.8359 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.191, allocations: 16.59 kB / 0.8359 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/1.194, allocations: 0.5074 MB / 0.8364 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/1.197, allocations: 1.268 MB / 0.8376 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/1.197, allocations: 179.2 kB / 0.8378 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/1.198, allocations: 152.1 kB / 0.8379 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/1.201, allocations: 1.743 MB / 0.8396 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/1.201, allocations: 6.625 kB / 0.8396 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/1.201, allocations: 62.84 kB / 0.8397 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.972e-05/1.201, allocations: 63.56 kB / 0.8398 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/1.204, allocations: 1.401 MB / 0.8411 GB, free: 10.8 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.0106/1.214, allocations: 8.214 MB / 0.8491 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.216, allocations: 0.9185 MB / 0.85 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009043/1.217, allocations: 0.543 MB / 0.8506 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006655/1.218, allocations: 336.3 kB / 0.8509 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/1.218, allocations: 52.86 kB / 0.8509 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=96): time 3.747e-06/1.218, allocations: 0 / 0.8509 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102): time 0.007907/1.226, allocations: 3.177 MB / 0.854 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/1.226, allocations: 64.41 kB / 0.8541 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/1.227, allocations: 1.262 MB / 0.8553 GB, free: 224 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.228, allocations: 41.7 kB / 0.8554 GB, free: 176 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007015/1.228, allocations: 0.8238 MB / 0.8562 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/1.229, allocations: 369 kB / 0.8565 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/1.229, allocations: 97.66 kB / 0.8566 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.229, allocations: 356.5 kB / 0.857 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008771/1.23, allocations: 442.4 kB / 0.8574 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/1.231, allocations: 0.8368 MB / 0.8582 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/1.233, allocations: 1.268 MB / 0.8594 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.233, allocations: 10.53 kB / 0.8595 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002776/1.236, allocations: 1.423 MB / 0.8608 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002946/1.236, allocations: 372 kB / 0.8612 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/1.236, allocations: 8 kB / 0.8612 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/1.236, allocations: 16 kB / 0.8612 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.238, allocations: 281.7 kB / 0.8615 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/1.238, allocations: 21.16 kB / 0.8615 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.24, allocations: 187.5 kB / 0.8617 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.645e-05/1.24, allocations: 48 kB / 0.8617 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.24, allocations: 4 kB / 0.8617 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002242/1.242, allocations: 1.241 MB / 0.863 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.242, allocations: 12 kB / 0.863 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.242, allocations: 12 kB / 0.863 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.243, allocations: 281.7 kB / 0.8632 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.526e-05/1.243, allocations: 26.55 kB / 0.8633 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/1.245, allocations: 175.7 kB / 0.8634 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.504e-05/1.245, allocations: 52 kB / 0.8635 GB, free: 7.629 MB / 0.6075 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.001003/1.246, allocations: 0.5051 MB / 0.864 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/1.247, allocations: 169.9 kB / 0.8641 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/1.249, allocations: 1.17 MB / 0.8653 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.249, allocations: 11.94 kB / 0.8653 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.249, allocations: 0 / 0.8653 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001822/1.251, allocations: 1.101 MB / 0.8664 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/1.256, allocations: 2.805 MB / 0.8691 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/1.257, allocations: 0 / 0.8691 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.258, allocations: 250.2 kB / 0.8693 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.258, allocations: 8 kB / 0.8694 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/1.258, allocations: 27.98 kB / 0.8694 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-06/1.258, allocations: 8 kB / 0.8694 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.258, allocations: 2.625 kB / 0.8694 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/1.261, allocations: 1.796 MB / 0.8711 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/1.262, allocations: 335 kB / 0.8715 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.262, allocations: 27.98 kB / 0.8715 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.264, allocations: 148.4 kB / 0.8716 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/1.264, allocations: 71.47 kB / 0.8717 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/1.264, allocations: 43.98 kB / 0.8717 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001266/1.265, allocations: 0.8426 MB / 0.8726 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/1.265, allocations: 0 / 0.8726 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002169/1.267, allocations: 0.7656 MB / 0.8733 GB, free: 13.43 MB / 0.6231 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.0006214/1.268, allocations: 277.3 kB / 0.8736 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003369/1.271, allocations: 1.754 MB / 0.8753 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.271, allocations: 0 / 0.8753 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009535/1.272, allocations: 0.5281 MB / 0.8758 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005556/1.278, allocations: 0.9686 MB / 0.8768 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/1.284, allocations: 4.436 MB / 0.8811 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.286, allocations: 1.441 MB / 0.8825 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/1.286, allocations: 139.4 kB / 0.8826 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/1.286, allocations: 0 / 0.8826 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of Templates: time 0.04389/1.33, allocations: 26.52 MB / 0.9085 GB, free: 9.645 MB / 0.6544 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)