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.0017/0.0017, 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.001687/0.001687, allocations: 190.2 kB / 16.25 MB, free: 6.633 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.462/1.462, 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.002618/0.002618, allocations: 290.8 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.507 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002873/0.002874, allocations: 96.73 kB / 0.6059 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1715, allocations: 89.16 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6432/0.8147, allocations: 207.2 MB / 0.8953 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.8317, allocations: 9.806 MB / 0.9049 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.8344, allocations: 51.69 kB / 0.905 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.8367, allocations: 0.684 MB / 0.9056 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007379/0.844, allocations: 2.646 MB / 0.9082 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.8478, allocations: 1.274 MB / 0.9095 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006029/0.8539, allocations: 4.06 MB / 0.9134 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.856, allocations: 1.297 MB / 0.9147 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.8592, allocations: 1.378 MB / 0.916 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.8624, allocations: 1.306 MB / 0.9173 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.8628, allocations: 148 kB / 0.9175 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005504/0.8683, allocations: 2.501 MB / 0.9199 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008464/0.8692, allocations: 0.6039 MB / 0.9205 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.8705, allocations: 0.8634 MB / 0.9213 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.877, allocations: 3.148 MB / 0.9244 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8771, allocations: 0 / 0.9244 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8771, allocations: 4 kB / 0.9244 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.878e-05/0.8771, allocations: 0 / 0.9244 GB, free: 15.01 MB / 0.6544 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.003467/0.8806, allocations: 1.897 MB / 0.9263 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.8807, allocations: 12.03 kB / 0.9263 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.884, allocations: 485.6 kB / 0.9267 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.8859, allocations: 1.069 MB / 0.9278 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.8861, allocations: 84.39 kB / 0.9279 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.8862, allocations: 108 kB / 0.928 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.8885, allocations: 1.161 MB / 0.9291 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.8885, allocations: 0 / 0.9291 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.8886, allocations: 51.94 kB / 0.9291 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.8887, allocations: 42.12 kB / 0.9292 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.8906, allocations: 1.078 MB / 0.9302 GB, free: 8.891 MB / 0.6544 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.006544/0.8971, allocations: 4.211 MB / 0.9344 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.8985, allocations: 0.7785 MB / 0.9351 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.8992, allocations: 486.5 kB / 0.9356 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.8996, allocations: 300.2 kB / 0.9359 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.8997, allocations: 47.56 kB / 0.9359 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=83): time 2.494e-06/0.8997, allocations: 0 / 0.9359 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=89): time 0.00606/0.9058, allocations: 2.833 MB / 0.9387 GB, free: 15.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.9058, allocations: 64.41 kB / 0.9387 GB, free: 15.74 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.9073, allocations: 0.9793 MB / 0.9397 GB, free: 14.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-05/0.9074, allocations: 49.7 kB / 0.9397 GB, free: 14.69 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.9079, allocations: 0.5357 MB / 0.9403 GB, free: 14.15 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.9082, allocations: 311.5 kB / 0.9406 GB, free: 13.84 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.9085, allocations: 162.5 kB / 0.9407 GB, free: 13.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.9087, allocations: 338 kB / 0.941 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.9092, allocations: 341.8 kB / 0.9414 GB, free: 13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007303/0.91, allocations: 489.9 kB / 0.9418 GB, free: 12.49 MB / 0.67 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.006474/0.9165, allocations: 3.044 MB / 0.9448 GB, free: 9.359 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9165, allocations: 0.8125 kB / 0.9448 GB, free: 9.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001776/0.9183, allocations: 1.004 MB / 0.9458 GB, free: 8.344 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.9183, allocations: 11.94 kB / 0.9458 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.9183, allocations: 384 / 0.9458 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.9183, allocations: 16.03 kB / 0.9458 GB, free: 8.316 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.9191, allocations: 183.7 kB / 0.946 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.9191, allocations: 12.84 kB / 0.946 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.9203, allocations: 76.58 kB / 0.9461 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/0.9204, allocations: 32 kB / 0.9461 GB, free: 8.02 MB / 0.67 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.0006625/0.9211, allocations: 382.9 kB / 0.9465 GB, free: 7.637 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.9213, allocations: 126.5 kB / 0.9466 GB, free: 7.512 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.9216, allocations: 152.3 kB / 0.9467 GB, free: 7.355 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.9216, allocations: 8 kB / 0.9467 GB, free: 7.348 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.9216, allocations: 0 / 0.9467 GB, free: 7.348 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001697/0.9233, allocations: 1.097 MB / 0.9478 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/0.9284, allocations: 3.048 MB / 0.9508 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.9284, allocations: 12.03 kB / 0.9508 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.9292, allocations: 171.7 kB / 0.951 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/0.9295, allocations: 93.66 kB / 0.9511 GB, free: 2.676 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.279e-05/0.9296, allocations: 31.98 kB / 0.9511 GB, free: 2.645 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.9326, allocations: 3.091 MB / 0.9541 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/0.9326, allocations: 15.94 kB / 0.9541 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.9354, allocations: 1.733 MB / 0.9558 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/0.9361, allocations: 311.5 kB / 0.9561 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.9363, allocations: 31.98 kB / 0.9561 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.9373, allocations: 71.88 kB / 0.9562 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.9375, allocations: 92.09 kB / 0.9563 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/0.9376, allocations: 51.92 kB / 0.9563 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001028/0.9386, allocations: 0.6956 MB / 0.957 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9386, allocations: 0 / 0.957 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00123/0.9399, allocations: 376 kB / 0.9574 GB, free: 11.75 MB / 0.6856 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.0005691/0.9405, allocations: 246.4 kB / 0.9576 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.9423, allocations: 0.9566 MB / 0.9586 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/0.9423, allocations: 4.75 kB / 0.9586 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.9433, allocations: 0.6698 MB / 0.9592 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004166/0.9475, allocations: 0.9302 MB / 0.9601 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/0.9525, allocations: 3.256 MB / 0.9633 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.9535, allocations: 1.257 MB / 0.9645 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001491/0.955, allocations: 339 kB / 0.9648 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.9553, allocations: 99.44 kB / 0.9649 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/0.9553, allocations: 0 / 0.9649 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of Templates: time 0.05602/1.011, allocations: 28.24 MB / 0.9925 GB, free: 8.008 MB / 0.7169 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)