Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008693/0.008693, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 274.1 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.9 MB / 0.5095 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004545, allocations: 15.94 kB / 0.6099 GB, free: 24.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 90.72 MB / 0.6985 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5559/0.7485, allocations: 166.3 MB / 0.8609 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.7593, allocations: 3.386 MB / 0.8642 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.7606, allocations: 18.72 kB / 0.8643 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.7622, allocations: 270.8 kB / 0.8645 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.7672, allocations: 0.9498 MB / 0.8654 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.7702, allocations: 0.6198 MB / 0.866 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004109/0.7744, allocations: 2.11 MB / 0.8681 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009715/0.7754, allocations: 394.8 kB / 0.8685 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.7769, allocations: 481.8 kB / 0.8689 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.7787, allocations: 471.1 kB / 0.8694 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.634e-05/0.7788, allocations: 22.84 kB / 0.8694 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.7821, allocations: 0.9481 MB / 0.8703 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.7825, allocations: 201.9 kB / 0.8705 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005709/0.7831, allocations: 319.9 kB / 0.8708 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.7855, allocations: 1.145 MB / 0.872 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7855, allocations: 2.531 kB / 0.872 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7855, allocations: 0 / 0.872 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.7855, allocations: 0 / 0.872 GB, free: 8.723 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002089/0.7877, allocations: 0.7909 MB / 0.8727 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7877, allocations: 12.91 kB / 0.8727 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.79, allocations: 175.4 kB / 0.8729 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.7913, allocations: 0.5049 MB / 0.8734 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.7914, allocations: 28.84 kB / 0.8734 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.7915, allocations: 42.53 kB / 0.8735 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.7929, allocations: 473.9 kB / 0.8739 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.793, allocations: 4 kB / 0.8739 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.7931, allocations: 17.09 kB / 0.8739 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.7931, allocations: 18.77 kB / 0.874 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.7943, allocations: 414.2 kB / 0.8744 GB, free: 7.035 MB / 0.5919 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.004494/0.7988, allocations: 1.741 MB / 0.8761 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/0.7997, allocations: 293 kB / 0.8763 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.8003, allocations: 182.3 kB / 0.8765 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.8005, allocations: 101.8 kB / 0.8766 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.808e-05/0.8006, allocations: 49.22 kB / 0.8767 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.056e-06/0.8006, allocations: 0 / 0.8767 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.003302/0.804, allocations: 1.056 MB / 0.8777 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.804, allocations: 54.28 kB / 0.8777 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.8049, allocations: 452 kB / 0.8782 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.805, allocations: 32.33 kB / 0.8782 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.8054, allocations: 256 kB / 0.8784 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.8056, allocations: 120.1 kB / 0.8786 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.8057, allocations: 36.58 kB / 0.8786 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002749/0.806, allocations: 353.7 kB / 0.8789 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.8064, allocations: 130 kB / 0.8791 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.8069, allocations: 199.2 kB / 0.8792 GB, free: 3.203 MB / 0.5919 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/0.8105, allocations: 0.8633 MB / 0.8801 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8105, allocations: 0 / 0.8801 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001167/0.8117, allocations: 417.3 kB / 0.8805 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.8118, allocations: 9.766 kB / 0.8805 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8118, allocations: 4.531 kB / 0.8805 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.8118, allocations: 3.125 kB / 0.8805 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.8124, allocations: 71.44 kB / 0.8806 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.8124, allocations: 3.031 kB / 0.8806 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/0.8133, allocations: 28.98 kB / 0.8806 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.8133, allocations: 15.59 kB / 0.8806 GB, free: 2.426 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0004664/0.8138, allocations: 211.7 kB / 0.8808 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.814, allocations: 59.97 kB / 0.8809 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.8142, allocations: 62.53 kB / 0.8809 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.8142, allocations: 3.312 kB / 0.8809 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.8143, allocations: 0 / 0.8809 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009458/0.8152, allocations: 407.7 kB / 0.8813 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.8188, allocations: 1.254 MB / 0.8826 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.8188, allocations: 4 kB / 0.8826 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.8195, allocations: 71.84 kB / 0.8826 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/0.8196, allocations: 8 kB / 0.8826 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.8196, allocations: 12 kB / 0.8826 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.728e-05/0.8196, allocations: 11.98 kB / 0.8827 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.8197, allocations: 4 kB / 0.8827 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.8214, allocations: 0.7001 MB / 0.8833 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.8218, allocations: 164.5 kB / 0.8835 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.822, allocations: 16.48 kB / 0.8835 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008304/0.8228, allocations: 39.83 kB / 0.8836 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/0.8229, allocations: 35.84 kB / 0.8836 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.823, allocations: 20.88 kB / 0.8836 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000706/0.8238, allocations: 335 kB / 0.8839 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.51e-07/0.8238, allocations: 0 / 0.8839 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001004/0.8248, allocations: 140 kB / 0.8841 GB, free: 15 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0005809/0.8254, allocations: 163.6 kB / 0.8842 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.8265, allocations: 316 kB / 0.8845 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.8265, allocations: 0 / 0.8845 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.827, allocations: 167.7 kB / 0.8847 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/0.8308, allocations: 355.2 kB / 0.885 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.8342, allocations: 1.366 MB / 0.8863 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/0.8351, allocations: 0.8901 MB / 0.8872 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009613/0.8361, allocations: 145.1 kB / 0.8874 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.8363, allocations: 43.44 kB / 0.8874 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of SimCode: time 7.52e-07/0.8363, allocations: 0 / 0.8874 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.03444/0.8708, allocations: 10.55 MB / 0.8977 GB, free: 1.113 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)