Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 196.4 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.844/1.844, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 68.52 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2572, allocations: 114.6 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8103/1.068, allocations: 209.9 MB / 0.9883 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01904/1.087, allocations: 9.782 MB / 0.9979 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/1.09, allocations: 58.88 kB / 0.9979 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003311/1.094, allocations: 0.7618 MB / 0.9987 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/1.106, allocations: 2.79 MB / 1.001 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00544/1.112, allocations: 1.366 MB / 1.003 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007024/1.119, allocations: 4.026 MB / 1.007 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/1.122, allocations: 1.309 MB / 1.008 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004152/1.126, allocations: 1.355 MB / 1.009 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004188/1.13, allocations: 1.23 MB / 1.01 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008661/1.131, allocations: 143.6 kB / 1.011 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007357/1.138, allocations: 2.381 MB / 1.013 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001232/1.139, allocations: 0.6001 MB / 1.013 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002639/1.142, allocations: 0.8505 MB / 1.014 GB, free: 164 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007785/1.15, allocations: 2.965 MB / 1.017 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.15, allocations: 0 / 1.017 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.314e-06/1.15, allocations: 0 / 1.017 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.855e-05/1.15, allocations: 0 / 1.017 GB, free: 14.42 MB / 0.7481 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.004822/1.155, allocations: 1.894 MB / 1.019 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.155, allocations: 9.812 kB / 1.019 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/1.159, allocations: 478.9 kB / 1.02 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/1.161, allocations: 1.051 MB / 1.021 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/1.161, allocations: 85.69 kB / 1.021 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/1.161, allocations: 109.5 kB / 1.021 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/1.163, allocations: 1.147 MB / 1.022 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/1.164, allocations: 3.938 kB / 1.022 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/1.164, allocations: 55.33 kB / 1.022 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/1.164, allocations: 37.42 kB / 1.022 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/1.165, allocations: 1.071 MB / 1.023 GB, free: 10.73 MB / 0.7481 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.00807/1.174, allocations: 4.533 MB / 1.027 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/1.175, allocations: 0.6519 MB / 1.028 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/1.175, allocations: 419 kB / 1.028 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/1.176, allocations: 291.7 kB / 1.029 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.129e-05/1.176, allocations: 51.95 kB / 1.029 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=65): time 2.705e-06/1.176, allocations: 0 / 1.029 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65): time 0.003176/1.179, allocations: 1.339 MB / 1.03 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/1.179, allocations: 60.84 kB / 1.03 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.181, allocations: 1.042 MB / 1.031 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.181, allocations: 43.42 kB / 1.031 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006759/1.182, allocations: 0.5803 MB / 1.032 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/1.182, allocations: 236.2 kB / 1.032 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/1.182, allocations: 158 kB / 1.032 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.183, allocations: 337.9 kB / 1.032 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/1.183, allocations: 307.4 kB / 1.033 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/1.184, allocations: 0.5169 MB / 1.033 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.185, allocations: 0.835 MB / 1.034 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.185, allocations: 4 kB / 1.034 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001726/1.187, allocations: 0.9558 MB / 1.035 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.187, allocations: 12.03 kB / 1.035 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.187, allocations: 4 kB / 1.035 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/1.187, allocations: 11.98 kB / 1.035 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/1.188, allocations: 163.8 kB / 1.035 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.188, allocations: 11.94 kB / 1.035 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.189, allocations: 117.2 kB / 1.035 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.389e-05/1.189, allocations: 28.08 kB / 1.035 GB, free: 1.656 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (99): * Single equations (assignments): 99 * 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.0006698/1.19, allocations: 368.8 kB / 1.036 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/1.19, allocations: 122.6 kB / 1.036 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/1.191, allocations: 135.1 kB / 1.036 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.191, allocations: 8 kB / 1.036 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/1.191, allocations: 0 / 1.036 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/1.192, allocations: 0.9506 MB / 1.037 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/1.196, allocations: 2.308 MB / 1.039 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/1.196, allocations: 4 kB / 1.039 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/1.197, allocations: 128.2 kB / 1.039 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/1.197, allocations: 93.64 kB / 1.039 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/1.197, allocations: 20 kB / 1.039 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/1.2, allocations: 3.082 MB / 1.042 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.2, allocations: 12 kB / 1.042 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/1.202, allocations: 1.422 MB / 1.044 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007187/1.203, allocations: 299.6 kB / 1.044 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/1.203, allocations: 20 kB / 1.044 GB, free: 8.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.204, allocations: 31.98 kB / 1.044 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.204, allocations: 52.39 kB / 1.044 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-05/1.204, allocations: 35.98 kB / 1.044 GB, free: 8.043 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001261/1.206, allocations: 0.7396 MB / 1.045 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.206, allocations: 0 / 1.045 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001424/1.207, allocations: 403.3 kB / 1.045 GB, free: 6.902 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.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 (61): * Single equations (assignments): 59 * 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.0006155/1.208, allocations: 229.2 kB / 1.046 GB, free: 6.68 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001692/1.209, allocations: 0.8428 MB / 1.046 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.209, allocations: 7.938 kB / 1.046 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009705/1.21, allocations: 0.5759 MB / 1.047 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/1.215, allocations: 0.8788 MB / 1.048 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/1.219, allocations: 2.54 MB / 1.05 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.22, allocations: 1.229 MB / 1.051 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001442/1.222, allocations: 334.6 kB / 1.052 GB, free: 184 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/1.222, allocations: 87.44 kB / 1.052 GB, free: 96 kB / 0.7637 GB Notification: Performance of SimCode: time 2.655e-06/1.222, allocations: 0 / 1.052 GB, free: 96 kB / 0.7637 GB Notification: Performance of Templates: time 0.05004/1.272, allocations: 27.13 MB / 1.078 GB, free: 5.387 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)