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.001067/0.001067, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001319/0.001319, allocations: 191 kB / 16.25 MB, free: 6.625 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002281/0.002281, allocations: 287 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9848/0.9848, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001726, allocations: 93.92 kB / 0.5947 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1706, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.533/0.7036, allocations: 207.2 MB / 0.882 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.7197, allocations: 9.809 MB / 0.8915 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.7224, allocations: 55.97 kB / 0.8916 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.7246, allocations: 0.6784 MB / 0.8923 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008391/0.733, allocations: 2.649 MB / 0.8948 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.7367, allocations: 1.273 MB / 0.8961 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004931/0.7416, allocations: 4.058 MB / 0.9001 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.7433, allocations: 1.299 MB / 0.9013 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.7457, allocations: 1.378 MB / 0.9027 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.7482, allocations: 1.31 MB / 0.9039 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.7485, allocations: 144 kB / 0.9041 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.7529, allocations: 2.505 MB / 0.9065 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006191/0.7536, allocations: 0.6078 MB / 0.9071 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009658/0.7546, allocations: 0.8634 MB / 0.908 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.7587, allocations: 3.163 MB / 0.9111 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7587, allocations: 0 / 0.9111 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7587, allocations: 0 / 0.9111 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.7588, allocations: 0 / 0.9111 GB, free: 10.82 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.002693/0.7615, allocations: 1.901 MB / 0.9129 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.7615, allocations: 8.031 kB / 0.9129 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.7646, allocations: 485.7 kB / 0.9134 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.7663, allocations: 1.057 MB / 0.9144 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/0.7663, allocations: 90.12 kB / 0.9145 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.7665, allocations: 116 kB / 0.9146 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.7683, allocations: 1.149 MB / 0.9157 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.7683, allocations: 4 kB / 0.9157 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.7685, allocations: 51.88 kB / 0.9158 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/0.7685, allocations: 50.06 kB / 0.9158 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.7701, allocations: 1.07 MB / 0.9169 GB, free: 4.699 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.005339/0.7754, allocations: 4.209 MB / 0.921 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.7766, allocations: 0.7858 MB / 0.9218 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.7772, allocations: 487.2 kB / 0.9222 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/0.7776, allocations: 292.3 kB / 0.9225 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.7777, allocations: 47.56 kB / 0.9225 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 2.716e-06/0.7777, allocations: 0 / 0.9225 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005637/0.7834, allocations: 2.841 MB / 0.9253 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.7834, allocations: 64.41 kB / 0.9254 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.7847, allocations: 0.9754 MB / 0.9263 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.755e-05/0.7848, allocations: 45.7 kB / 0.9264 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.7853, allocations: 0.5473 MB / 0.9269 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.7857, allocations: 315.4 kB / 0.9272 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.7859, allocations: 154.6 kB / 0.9274 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7861, allocations: 337.9 kB / 0.9277 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.7867, allocations: 341.8 kB / 0.928 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.7874, allocations: 485.9 kB / 0.9285 GB, free: 8.293 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.005756/0.7932, allocations: 3.045 MB / 0.9314 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.7932, allocations: 4 kB / 0.9315 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001517/0.7947, allocations: 1.011 MB / 0.9324 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7948, allocations: 11.92 kB / 0.9325 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7948, allocations: 11.92 kB / 0.9325 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.7948, allocations: 8 kB / 0.9325 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.7955, allocations: 179.8 kB / 0.9326 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.7956, allocations: 7.938 kB / 0.9326 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.7967, allocations: 76.17 kB / 0.9327 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.7968, allocations: 36 kB / 0.9328 GB, free: 3.816 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.0005606/0.7973, allocations: 379.4 kB / 0.9331 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.7976, allocations: 130.4 kB / 0.9332 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.7979, allocations: 148.3 kB / 0.9334 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.7979, allocations: 8 kB / 0.9334 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.7979, allocations: 8 kB / 0.9334 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.7993, allocations: 1.086 MB / 0.9345 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/0.8039, allocations: 3.055 MB / 0.9374 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.804, allocations: 8 kB / 0.9375 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/0.8047, allocations: 159.7 kB / 0.9376 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.8051, allocations: 102.4 kB / 0.9377 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.8051, allocations: 35.92 kB / 0.9377 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.8076, allocations: 3.082 MB / 0.9407 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.8076, allocations: 19.88 kB / 0.9408 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.8099, allocations: 1.737 MB / 0.9425 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.8104, allocations: 303.7 kB / 0.9427 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.8107, allocations: 31.98 kB / 0.9428 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.8118, allocations: 87.98 kB / 0.9429 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.8119, allocations: 88.11 kB / 0.9429 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/0.812, allocations: 47.98 kB / 0.943 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009147/0.813, allocations: 0.6995 MB / 0.9437 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.813, allocations: 0 / 0.9437 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001216/0.8142, allocations: 376 kB / 0.944 GB, free: 7.551 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.0005079/0.8147, allocations: 236.5 kB / 0.9443 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.8163, allocations: 0.9644 MB / 0.9452 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.8163, allocations: 0 / 0.9452 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009078/0.8173, allocations: 0.6737 MB / 0.9459 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/0.8213, allocations: 0.9262 MB / 0.9468 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.8257, allocations: 3.259 MB / 0.9499 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.8268, allocations: 1.253 MB / 0.9512 GB, free: 68 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0014/0.8282, allocations: 335 kB / 0.9515 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.8285, allocations: 99.42 kB / 0.9516 GB, free: 15.64 MB / 0.67 GB Notification: Performance of SimCode: time 7.91e-07/0.8285, allocations: 0 / 0.9516 GB, free: 15.64 MB / 0.67 GB Notification: Performance of Templates: time 0.04899/0.8775, allocations: 28.25 MB / 0.9792 GB, free: 3.812 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)