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.0008357/0.0008357, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005827/0.005827, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 262.9 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9277/0.9277, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004628, allocations: 14.25 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1652, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.527/0.6922, allocations: 204.8 MB / 0.8852 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.707, allocations: 9.85 MB / 0.8948 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.7095, allocations: 51.62 kB / 0.8948 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.7123, allocations: 0.6567 MB / 0.8955 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007475/0.7198, allocations: 2.648 MB / 0.8981 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.7233, allocations: 1.26 MB / 0.8993 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00731/0.7307, allocations: 5.64 MB / 0.9048 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.7327, allocations: 1.095 MB / 0.9059 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.7356, allocations: 1.116 MB / 0.9069 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.7388, allocations: 1.241 MB / 0.9082 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.7391, allocations: 56 kB / 0.9082 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005762/0.7449, allocations: 2.735 MB / 0.9109 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008337/0.7457, allocations: 0.5218 MB / 0.9114 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.747, allocations: 0.7675 MB / 0.9121 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.7518, allocations: 3.045 MB / 0.9151 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.7518, allocations: 4 kB / 0.9151 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.527e-06/0.7518, allocations: 0 / 0.9151 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.707e-05/0.7519, allocations: 3.938 kB / 0.9151 GB, free: 4.266 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.00262/0.7545, allocations: 1.595 MB / 0.9167 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7546, allocations: 12.03 kB / 0.9167 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.7576, allocations: 485.6 kB / 0.9172 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.7593, allocations: 1.061 MB / 0.9182 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.7594, allocations: 78.14 kB / 0.9183 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.7595, allocations: 119.9 kB / 0.9184 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.7615, allocations: 1.149 MB / 0.9195 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.7615, allocations: 4 kB / 0.9195 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.7617, allocations: 47.94 kB / 0.9196 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.7617, allocations: 54 kB / 0.9196 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.7634, allocations: 1.07 MB / 0.9207 GB, free: 14.46 MB / 0.6387 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.005702/0.7691, allocations: 4.219 MB / 0.9248 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.7702, allocations: 0.782 MB / 0.9255 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.7708, allocations: 491.9 kB / 0.926 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.7712, allocations: 292.3 kB / 0.9263 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.7713, allocations: 47.56 kB / 0.9263 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 2.926e-06/0.7713, allocations: 0 / 0.9263 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005661/0.7769, allocations: 2.848 MB / 0.9291 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.777, allocations: 68.39 kB / 0.9292 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.7783, allocations: 0.9716 MB / 0.9301 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.7784, allocations: 45.7 kB / 0.9302 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.7788, allocations: 0.5395 MB / 0.9307 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.779, allocations: 315.4 kB / 0.931 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.7791, allocations: 73.67 kB / 0.9311 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7793, allocations: 341.9 kB / 0.9314 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.7798, allocations: 341.8 kB / 0.9317 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.7804, allocations: 489.8 kB / 0.9322 GB, free: 2.117 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.005917/0.7863, allocations: 3.063 MB / 0.9352 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.7864, allocations: 0 / 0.9352 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001764/0.7881, allocations: 1.004 MB / 0.9362 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.7882, allocations: 7.938 kB / 0.9362 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7882, allocations: 4.375 kB / 0.9362 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.7882, allocations: 12 kB / 0.9362 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.789, allocations: 187.7 kB / 0.9364 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.789, allocations: 8 kB / 0.9364 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.7902, allocations: 71.7 kB / 0.9364 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/0.7903, allocations: 43.92 kB / 0.9365 GB, free: 13.63 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.0007688/0.7911, allocations: 376.2 kB / 0.9368 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.7913, allocations: 130.4 kB / 0.937 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.7916, allocations: 148.3 kB / 0.9371 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7916, allocations: 8 kB / 0.9371 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/0.7916, allocations: 7.938 kB / 0.9371 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001511/0.7932, allocations: 1.094 MB / 0.9382 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/0.7978, allocations: 3.032 MB / 0.9411 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.7978, allocations: 12.03 kB / 0.9412 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.7985, allocations: 167.7 kB / 0.9413 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/0.7989, allocations: 97.64 kB / 0.9414 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.7989, allocations: 31.94 kB / 0.9414 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.8013, allocations: 2.881 MB / 0.9443 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/0.8013, allocations: 15.94 kB / 0.9443 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.8037, allocations: 1.737 MB / 0.946 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/0.8043, allocations: 307.5 kB / 0.9463 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.8045, allocations: 35.92 kB / 0.9463 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.8054, allocations: 74.44 kB / 0.9464 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.8056, allocations: 88.11 kB / 0.9464 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.8057, allocations: 43.98 kB / 0.9465 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009054/0.8066, allocations: 0.6956 MB / 0.9472 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8066, allocations: 0 / 0.9472 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0011/0.8077, allocations: 380 kB / 0.9475 GB, free: 1.609 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.0005407/0.8082, allocations: 254.5 kB / 0.9478 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.8095, allocations: 0.8246 MB / 0.9486 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.8095, allocations: 4 kB / 0.9486 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.8105, allocations: 0.6814 MB / 0.9492 GB, free: 15.83 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005222/0.8157, allocations: 0.8892 MB / 0.9501 GB, free: 14.94 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.8199, allocations: 3.368 MB / 0.9534 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/0.8208, allocations: 1.257 MB / 0.9546 GB, free: 10.14 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001309/0.8221, allocations: 342.9 kB / 0.955 GB, free: 9.801 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.8223, allocations: 107.4 kB / 0.9551 GB, free: 9.695 MB / 0.67 GB Notification: Performance of SimCode: time 8.91e-07/0.8223, allocations: 0 / 0.9551 GB, free: 9.695 MB / 0.67 GB Notification: Performance of Templates: time 0.04307/0.8654, allocations: 27.02 MB / 0.9815 GB, free: 15.05 MB / 0.7012 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)