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.001649/0.001649, allocations: 108 kB / 15.6 MB, free: 132 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.001987/0.001987, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 291 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9211/0.9211, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 97.25 kB / 0.5952 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.161, allocations: 86.99 MB / 0.6802 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5086/0.6696, allocations: 209.9 MB / 0.8851 GB, free: 388 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.6839, allocations: 9.866 MB / 0.8948 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.6858, allocations: 61.53 kB / 0.8948 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.6878, allocations: 0.7737 MB / 0.8956 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006557/0.6944, allocations: 2.807 MB / 0.8983 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.6977, allocations: 1.363 MB / 0.8996 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00474/0.7025, allocations: 4.068 MB / 0.9036 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.7042, allocations: 1.335 MB / 0.9049 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.7067, allocations: 1.354 MB / 0.9062 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.709, allocations: 1.222 MB / 0.9074 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.7093, allocations: 144 kB / 0.9076 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004852/0.7141, allocations: 2.381 MB / 0.9099 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006963/0.7148, allocations: 0.6078 MB / 0.9105 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.7159, allocations: 0.8556 MB / 0.9113 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00474/0.7206, allocations: 2.992 MB / 0.9143 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.7207, allocations: 4 kB / 0.9143 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.906e-06/0.7207, allocations: 0 / 0.9143 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.7207, allocations: 0 / 0.9143 GB, free: 7.598 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.002989/0.7237, allocations: 1.897 MB / 0.9161 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.7238, allocations: 8.031 kB / 0.9161 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.7268, allocations: 493.7 kB / 0.9166 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.7286, allocations: 1.061 MB / 0.9176 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.7286, allocations: 82.14 kB / 0.9177 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.7288, allocations: 112 kB / 0.9178 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.7307, allocations: 1.153 MB / 0.9189 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.7307, allocations: 8 kB / 0.9189 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7308, allocations: 49.06 kB / 0.919 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.7309, allocations: 42.14 kB / 0.919 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.7325, allocations: 1.07 MB / 0.9201 GB, free: 1.492 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.006031/0.7385, allocations: 4.24 MB / 0.9242 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.7398, allocations: 0.782 MB / 0.925 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/0.7404, allocations: 494.6 kB / 0.9255 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.7408, allocations: 296.3 kB / 0.9257 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.7408, allocations: 47.56 kB / 0.9258 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 3.396e-06/0.7408, allocations: 0 / 0.9258 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005271/0.7461, allocations: 2.836 MB / 0.9285 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.7462, allocations: 64.39 kB / 0.9286 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.7474, allocations: 0.9716 MB / 0.9296 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/0.7475, allocations: 49.64 kB / 0.9296 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.7479, allocations: 0.5434 MB / 0.9301 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.7481, allocations: 307.5 kB / 0.9304 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.7484, allocations: 158.6 kB / 0.9306 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7485, allocations: 342 kB / 0.9309 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.749, allocations: 337.8 kB / 0.9312 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.7496, allocations: 489.9 kB / 0.9317 GB, free: 5.059 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.005682/0.7552, allocations: 3.057 MB / 0.9347 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7553, allocations: 0 / 0.9347 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001508/0.7568, allocations: 1.004 MB / 0.9357 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.7568, allocations: 18.16 kB / 0.9357 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7568, allocations: 0 / 0.9357 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7568, allocations: 8 kB / 0.9357 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.7576, allocations: 183.7 kB / 0.9359 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.7576, allocations: 11.98 kB / 0.9359 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/0.7586, allocations: 27.94 kB / 0.9359 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.7587, allocations: 35.92 kB / 0.9359 GB, free: 0.625 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.0005465/0.7592, allocations: 380 kB / 0.9363 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.7594, allocations: 134.4 kB / 0.9364 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.7597, allocations: 148.4 kB / 0.9366 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.7597, allocations: 8 kB / 0.9366 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.7598, allocations: 3.938 kB / 0.9366 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/0.7612, allocations: 1.094 MB / 0.9376 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.7657, allocations: 3.043 MB / 0.9406 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.7657, allocations: 8.219 kB / 0.9406 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/0.7665, allocations: 167.7 kB / 0.9408 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.7668, allocations: 97.69 kB / 0.9409 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.7669, allocations: 39.98 kB / 0.9409 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.7692, allocations: 3.09 MB / 0.9439 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.7692, allocations: 11.94 kB / 0.9439 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.7716, allocations: 1.737 MB / 0.9456 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/0.7722, allocations: 303.5 kB / 0.9459 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.7724, allocations: 35.98 kB / 0.946 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/0.7733, allocations: 45.75 kB / 0.946 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.7735, allocations: 80.11 kB / 0.9461 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/0.7736, allocations: 47.98 kB / 0.9461 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009457/0.7745, allocations: 0.6995 MB / 0.9468 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.7745, allocations: 0 / 0.9468 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001098/0.7756, allocations: 376 kB / 0.9472 GB, free: 4.402 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.0004572/0.7761, allocations: 237.3 kB / 0.9474 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.7776, allocations: 0.9566 MB / 0.9483 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.7777, allocations: 4.75 kB / 0.9483 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009168/0.7786, allocations: 0.6691 MB / 0.949 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/0.7829, allocations: 0.9335 MB / 0.9499 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.7872, allocations: 2.799 MB / 0.9526 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/0.7882, allocations: 1.257 MB / 0.9539 GB, free: 13.37 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001348/0.7895, allocations: 343 kB / 0.9542 GB, free: 13.03 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.7898, allocations: 99.44 kB / 0.9543 GB, free: 12.93 MB / 0.67 GB Notification: Performance of SimCode: time 4.5e-07/0.7898, allocations: 0 / 0.9543 GB, free: 12.93 MB / 0.67 GB Notification: Performance of Templates: time 0.04366/0.8335, allocations: 28.39 MB / 0.982 GB, free: 0.9688 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)