Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001087/0.001088, allocations: 194 kB / 16.14 MB, free: 6.66 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 283 kB / 290.2 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.933/0.933, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 97.48 kB / 0.5945 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1678, allocations: 86.98 MB / 0.6794 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5091/0.677, allocations: 207.6 MB / 0.8822 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.6907, allocations: 9.95 MB / 0.8919 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.6928, allocations: 49.75 kB / 0.892 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.6946, allocations: 0.6711 MB / 0.8926 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.7007, allocations: 2.645 MB / 0.8952 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.7038, allocations: 1.249 MB / 0.8964 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005309/0.7091, allocations: 5.652 MB / 0.9019 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.7108, allocations: 1.126 MB / 0.903 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.7134, allocations: 1.155 MB / 0.9042 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.7174, allocations: 1.28 MB / 0.9054 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005345/0.718, allocations: 72 kB / 0.9055 GB, free: 420 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007769/0.7258, allocations: 2.751 MB / 0.9082 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.727, allocations: 0.5413 MB / 0.9087 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.729, allocations: 0.7775 MB / 0.9095 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008309/0.7374, allocations: 3.085 MB / 0.9125 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7374, allocations: 0 / 0.9125 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7374, allocations: 0 / 0.9125 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001031/0.7375, allocations: 4 kB / 0.9125 GB, free: 9.23 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005233/0.7427, allocations: 1.905 MB / 0.9143 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.7428, allocations: 12.03 kB / 0.9143 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/0.7475, allocations: 485.7 kB / 0.9148 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.7502, allocations: 1.061 MB / 0.9158 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.7503, allocations: 82.14 kB / 0.9159 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.7506, allocations: 108 kB / 0.916 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.7535, allocations: 1.157 MB / 0.9172 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.7535, allocations: 0 / 0.9172 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.7537, allocations: 55.94 kB / 0.9172 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/0.7538, allocations: 38.14 kB / 0.9172 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.7564, allocations: 1.078 MB / 0.9183 GB, free: 3.117 MB / 0.6231 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.008298/0.7648, allocations: 4.215 MB / 0.9224 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.7666, allocations: 0.7858 MB / 0.9232 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009542/0.7676, allocations: 487.2 kB / 0.9236 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/0.7681, allocations: 292.3 kB / 0.9239 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.7681, allocations: 47.55 kB / 0.924 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 3.367e-06/0.7682, allocations: 0 / 0.924 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.008041/0.7762, allocations: 2.844 MB / 0.9267 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.7763, allocations: 60.41 kB / 0.9268 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.7781, allocations: 0.9716 MB / 0.9278 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.7783, allocations: 49.7 kB / 0.9278 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.7788, allocations: 0.5434 MB / 0.9283 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/0.7792, allocations: 307.5 kB / 0.9286 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.7796, allocations: 154.6 kB / 0.9288 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7798, allocations: 341.9 kB / 0.9291 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.7805, allocations: 349.8 kB / 0.9294 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.7816, allocations: 485.9 kB / 0.9299 GB, free: 6.699 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008747/0.7903, allocations: 3.042 MB / 0.9329 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.7903, allocations: 0 / 0.9329 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002411/0.7928, allocations: 1.007 MB / 0.9339 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.7928, allocations: 14.12 kB / 0.9339 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.7928, allocations: 4 kB / 0.9339 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.7929, allocations: 4.375 kB / 0.9339 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.7939, allocations: 187.7 kB / 0.9341 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/0.7939, allocations: 11.94 kB / 0.9341 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.7951, allocations: 75.78 kB / 0.9341 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.7952, allocations: 32 kB / 0.9342 GB, free: 2.238 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.000644/0.7958, allocations: 383.4 kB / 0.9345 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.7961, allocations: 130.4 kB / 0.9347 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.7964, allocations: 152.3 kB / 0.9348 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.7964, allocations: 8 kB / 0.9348 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.7965, allocations: 3.984 kB / 0.9348 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/0.798, allocations: 1.098 MB / 0.9359 GB, free: 400 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.8029, allocations: 3.047 MB / 0.9389 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.8029, allocations: 8.219 kB / 0.9389 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.8036, allocations: 171.7 kB / 0.939 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003546/0.804, allocations: 97.59 kB / 0.9391 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/0.8041, allocations: 28 kB / 0.9392 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.8064, allocations: 2.869 MB / 0.942 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/0.8064, allocations: 11.94 kB / 0.942 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.8088, allocations: 1.741 MB / 0.9437 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/0.8093, allocations: 307.5 kB / 0.944 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.8095, allocations: 31.94 kB / 0.944 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009701/0.8105, allocations: 78.69 kB / 0.9441 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.8106, allocations: 88.11 kB / 0.9441 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/0.8107, allocations: 43.98 kB / 0.9442 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000834/0.8115, allocations: 0.6995 MB / 0.9449 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8115, allocations: 4 kB / 0.9449 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001078/0.8126, allocations: 372 kB / 0.9452 GB, free: 6.207 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005231/0.8131, allocations: 244 kB / 0.9455 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.8144, allocations: 0.8207 MB / 0.9463 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.8145, allocations: 8.062 kB / 0.9463 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008932/0.8154, allocations: 0.6657 MB / 0.9469 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/0.8191, allocations: 0.8883 MB / 0.9478 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.8232, allocations: 3.259 MB / 0.951 GB, free: 164 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/0.824, allocations: 1.253 MB / 0.9522 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001178/0.8252, allocations: 347 kB / 0.9525 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.8254, allocations: 99.42 kB / 0.9526 GB, free: 14.44 MB / 0.67 GB Notification: Performance of SimCode: time 2.31e-07/0.8254, allocations: 4 kB / 0.9526 GB, free: 14.43 MB / 0.67 GB Notification: Performance of Templates: time 0.04124/0.8667, allocations: 27.17 MB / 0.9792 GB, free: 3.656 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)