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.001162/0.001162, allocations: 107.2 kB / 17.02 MB, free: 5.66 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.001136/0.001137, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.688/0.688, allocations: 115.1 MB / 406.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 67.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3605, allocations: 76.14 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5268/0.8874, allocations: 242.4 MB / 0.7943 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.9054, allocations: 15.9 MB / 0.8098 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003349/0.9087, allocations: 76.59 kB / 0.8099 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.9115, allocations: 1.182 MB / 0.811 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008454/0.92, allocations: 3.801 MB / 0.8147 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.9245, allocations: 1.828 MB / 0.8165 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006578/0.931, allocations: 5.26 MB / 0.8216 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.9336, allocations: 1.67 MB / 0.8233 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006158/0.9397, allocations: 2.605 MB / 0.8258 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.9435, allocations: 1.708 MB / 0.8275 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003892/0.9439, allocations: 176.4 kB / 0.8277 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/0.9496, allocations: 2.704 MB / 0.8303 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.9507, allocations: 0.7783 MB / 0.8311 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001981/0.9527, allocations: 1.151 MB / 0.8322 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005597/0.9583, allocations: 3.555 MB / 0.8357 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.9583, allocations: 2.625 kB / 0.8357 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9583, allocations: 0 / 0.8357 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.05e-05/0.9584, allocations: 0 / 0.8357 GB, free: 14.03 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.003886/0.9623, allocations: 2.504 MB / 0.8381 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.9623, allocations: 10.84 kB / 0.8381 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.9651, allocations: 0.5069 MB / 0.8386 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.9678, allocations: 1.358 MB / 0.8399 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.9681, allocations: 176.6 kB / 0.8401 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/0.9684, allocations: 148.3 kB / 0.8402 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.9711, allocations: 1.741 MB / 0.8419 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.9711, allocations: 9.062 kB / 0.842 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.9713, allocations: 58.59 kB / 0.842 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.849e-05/0.9714, allocations: 63.41 kB / 0.8421 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.9737, allocations: 1.38 MB / 0.8434 GB, free: 9.57 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.009124/0.9828, allocations: 8.202 MB / 0.8514 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.9844, allocations: 0.9089 MB / 0.8523 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.9853, allocations: 0.5302 MB / 0.8528 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/0.9859, allocations: 323.1 kB / 0.8531 GB, free: 12 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.986, allocations: 50.03 kB / 0.8532 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 2.565e-06/0.986, allocations: 4 kB / 0.8532 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.00669/0.9927, allocations: 3.118 MB / 0.8562 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.9928, allocations: 68.39 kB / 0.8563 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.9943, allocations: 1.262 MB / 0.8575 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.9944, allocations: 45.7 kB / 0.8576 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/0.995, allocations: 0.8161 MB / 0.8584 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.9954, allocations: 363.7 kB / 0.8587 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/0.9957, allocations: 233.3 kB / 0.8589 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9958, allocations: 349.9 kB / 0.8593 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.9966, allocations: 449.8 kB / 0.8597 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.9977, allocations: 0.8271 MB / 0.8605 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.9995, allocations: 1.25 MB / 0.8617 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.9995, allocations: 3.938 kB / 0.8617 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002444/1.002, allocations: 1.414 MB / 0.8631 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.002, allocations: 8 kB / 0.8631 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/1.002, allocations: 8 kB / 0.8631 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.002, allocations: 16 kB / 0.8631 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.003, allocations: 277.7 kB / 0.8634 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/1.003, allocations: 15.31 kB / 0.8634 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.004, allocations: 75.97 kB / 0.8635 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/1.005, allocations: 48 kB / 0.8635 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/1.006, allocations: 0.7744 MB / 0.8643 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000984/1.007, allocations: 0.8232 MB / 0.8651 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001749/1.009, allocations: 1.227 MB / 0.8663 GB, free: 2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/1.009, allocations: 4 kB / 0.8663 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002281/1.011, allocations: 1.388 MB / 0.8677 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.011, allocations: 12.88 kB / 0.8677 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.011, allocations: 10.53 kB / 0.8677 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.011, allocations: 16 kB / 0.8677 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.012, allocations: 281.8 kB / 0.868 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.012, allocations: 22.42 kB / 0.868 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.013, allocations: 75.84 kB / 0.8681 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.013, allocations: 52 kB / 0.8681 GB, free: 216 kB / 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.0003074/1.014, allocations: 262.2 kB / 0.8684 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/1.014, allocations: 165.8 kB / 0.8685 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/1.016, allocations: 1.157 MB / 0.8697 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.016, allocations: 8 kB / 0.8697 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.016, allocations: 3.938 kB / 0.8697 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001573/1.018, allocations: 1.082 MB / 0.8707 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/1.022, allocations: 2.793 MB / 0.8734 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.022, allocations: 0 / 0.8734 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.023, allocations: 246.3 kB / 0.8737 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/1.023, allocations: 8 kB / 0.8737 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/1.023, allocations: 24 kB / 0.8737 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/1.023, allocations: 11.92 kB / 0.8737 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.023, allocations: 4 kB / 0.8737 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/1.026, allocations: 1.765 MB / 0.8755 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/1.027, allocations: 335.1 kB / 0.8758 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.027, allocations: 27.98 kB / 0.8758 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/1.028, allocations: 57.19 kB / 0.8759 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.028, allocations: 67.45 kB / 0.8759 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.028, allocations: 39.97 kB / 0.876 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001025/1.029, allocations: 0.8426 MB / 0.8768 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 0 / 0.8768 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001795/1.031, allocations: 0.7695 MB / 0.8775 GB, free: 6.441 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.0005462/1.032, allocations: 281.8 kB / 0.8778 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002747/1.034, allocations: 1.726 MB / 0.8795 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.034, allocations: 4.062 kB / 0.8795 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000798/1.035, allocations: 0.5163 MB / 0.88 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/1.038, allocations: 0.9168 MB / 0.8809 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/1.043, allocations: 3.458 MB / 0.8843 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00096/1.044, allocations: 1.445 MB / 0.8857 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001516/1.045, allocations: 0.56 MB / 0.8862 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.046, allocations: 127.4 kB / 0.8863 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/1.046, allocations: 0 / 0.8863 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.04563/1.091, allocations: 31.19 MB / 0.9168 GB, free: 14.85 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)