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.001413/0.001413, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001585/0.001585, allocations: 191.6 kB / 17.31 MB, free: 5.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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 285 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9222/0.9222, allocations: 169.2 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 93.83 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1557, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4274/0.5831, allocations: 170.8 MB / 0.8484 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005329/0.5885, allocations: 3.378 MB / 0.8517 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005749/0.5891, allocations: 19.88 kB / 0.8517 GB, free: 308 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.59, allocations: 314.1 kB / 0.852 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.5921, allocations: 1.015 MB / 0.853 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.5937, allocations: 0.6646 MB / 0.8536 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.5953, allocations: 1.529 MB / 0.8551 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.5959, allocations: 474.2 kB / 0.8556 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.5967, allocations: 0.5706 MB / 0.8561 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009359/0.5977, allocations: 468.3 kB / 0.8566 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.384e-05/0.5978, allocations: 52 kB / 0.8566 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.5993, allocations: 0.834 MB / 0.8574 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.5995, allocations: 247.3 kB / 0.8577 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.5999, allocations: 330.5 kB / 0.858 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.6012, allocations: 1.141 MB / 0.8591 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6012, allocations: 3.984 kB / 0.8591 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6013, allocations: 0 / 0.8591 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.6013, allocations: 4 kB / 0.8591 GB, free: 8.688 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001305/0.6026, allocations: 0.9005 MB / 0.86 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.6026, allocations: 12.03 kB / 0.86 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.6038, allocations: 175.1 kB / 0.8602 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008245/0.6046, allocations: 0.517 MB / 0.8607 GB, free: 7 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.6047, allocations: 40.94 kB / 0.8607 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.6047, allocations: 43.91 kB / 0.8608 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.6055, allocations: 482.3 kB / 0.8612 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6055, allocations: 0 / 0.8612 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.6056, allocations: 19.98 kB / 0.8612 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.6056, allocations: 13 kB / 0.8613 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.6062, allocations: 415.7 kB / 0.8616 GB, free: 6.004 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.00236/0.6086, allocations: 1.716 MB / 0.8633 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.609, allocations: 304.9 kB / 0.8636 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.6093, allocations: 187.8 kB / 0.8638 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.6095, allocations: 97.09 kB / 0.8639 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.6095, allocations: 38.5 kB / 0.8639 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 3.787e-06/0.6095, allocations: 7.984 kB / 0.8639 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001822/0.6113, allocations: 1.053 MB / 0.865 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.6114, allocations: 51.41 kB / 0.865 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.6118, allocations: 457.9 kB / 0.8654 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.6119, allocations: 37.7 kB / 0.8655 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.6121, allocations: 248.1 kB / 0.8657 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.673e-05/0.6122, allocations: 122.3 kB / 0.8658 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6123, allocations: 65.7 kB / 0.8659 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6124, allocations: 358.8 kB / 0.8662 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.6126, allocations: 123.9 kB / 0.8664 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.6129, allocations: 198.3 kB / 0.8665 GB, free: 0.6914 MB / 0.6231 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.001839/0.6147, allocations: 0.8658 MB / 0.8674 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6147, allocations: 4 kB / 0.8674 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005846/0.6153, allocations: 417.7 kB / 0.8678 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6153, allocations: 4 kB / 0.8678 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6153, allocations: 4 kB / 0.8678 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6154, allocations: 4 kB / 0.8678 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.6157, allocations: 75.84 kB / 0.8679 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.6157, allocations: 0 / 0.8679 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.6161, allocations: 25.53 kB / 0.8679 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.6161, allocations: 16 kB / 0.8679 GB, free: 15.25 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0002263/0.6164, allocations: 210.2 kB / 0.8681 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.6165, allocations: 51.38 kB / 0.8682 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.6166, allocations: 60.77 kB / 0.8682 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6166, allocations: 4 kB / 0.8682 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6166, allocations: 0 / 0.8682 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000473/0.6171, allocations: 413.1 kB / 0.8686 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.6188, allocations: 1.249 MB / 0.8698 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.6188, allocations: 7.938 kB / 0.8698 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.6192, allocations: 71.91 kB / 0.8699 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.6192, allocations: 4 kB / 0.8699 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.6192, allocations: 16.48 kB / 0.8699 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.6192, allocations: 13.06 kB / 0.8699 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6193, allocations: 4 kB / 0.87 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.62, allocations: 0.6997 MB / 0.8706 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.6203, allocations: 168.4 kB / 0.8708 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.6204, allocations: 15.98 kB / 0.8708 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.6208, allocations: 16 kB / 0.8708 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.6208, allocations: 35.91 kB / 0.8709 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.6209, allocations: 20.86 kB / 0.8709 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003379/0.6212, allocations: 331.1 kB / 0.8712 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6212, allocations: 0 / 0.8712 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005151/0.6218, allocations: 140 kB / 0.8713 GB, free: 11.52 MB / 0.6387 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.0003585/0.6221, allocations: 182.6 kB / 0.8715 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.6226, allocations: 319.7 kB / 0.8718 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6227, allocations: 0 / 0.8718 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.6229, allocations: 163.7 kB / 0.872 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.6244, allocations: 372.1 kB / 0.8723 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.6262, allocations: 1.119 MB / 0.8734 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.6267, allocations: 0.8822 MB / 0.8743 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003909/0.6271, allocations: 132.6 kB / 0.8744 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.6272, allocations: 43.44 kB / 0.8744 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.6272, allocations: 0 / 0.8744 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of Templates: time 0.01664/0.6438, allocations: 11.06 MB / 0.8852 GB, free: 13.41 MB / 0.6544 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)