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.0015/0.0015, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002321/0.002321, allocations: 275 kB / 290.6 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 98.44 kB / 0.5952 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.179, allocations: 86.98 MB / 0.6802 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4919/0.671, allocations: 170.8 MB / 0.8469 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005226/0.6762, allocations: 3.372 MB / 0.8502 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.6769, allocations: 22.75 kB / 0.8503 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000864/0.6778, allocations: 311 kB / 0.8506 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.6802, allocations: 1.023 MB / 0.8516 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.6817, allocations: 0.6624 MB / 0.8522 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.6832, allocations: 1.522 MB / 0.8537 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.6838, allocations: 488.4 kB / 0.8542 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000719/0.6845, allocations: 0.5564 MB / 0.8547 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008702/0.6854, allocations: 467 kB / 0.8551 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.719e-05/0.6855, allocations: 54.88 kB / 0.8552 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.6869, allocations: 0.8286 MB / 0.856 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.6872, allocations: 245.8 kB / 0.8562 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003166/0.6875, allocations: 332 kB / 0.8566 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.6888, allocations: 1.125 MB / 0.8577 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6888, allocations: 4 kB / 0.8577 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6888, allocations: 2.25 kB / 0.8577 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.6888, allocations: 0 / 0.8577 GB, free: 8.402 MB / 0.5762 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.001253/0.6901, allocations: 0.9098 MB / 0.8585 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.6901, allocations: 9.969 kB / 0.8586 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.6913, allocations: 178.8 kB / 0.8587 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.6919, allocations: 0.4935 MB / 0.8592 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.6919, allocations: 34.38 kB / 0.8592 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.692, allocations: 51.81 kB / 0.8593 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.6927, allocations: 477.7 kB / 0.8597 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6927, allocations: 2.562 kB / 0.8598 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.6928, allocations: 14.72 kB / 0.8598 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.6928, allocations: 20.08 kB / 0.8598 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.6934, allocations: 413.1 kB / 0.8602 GB, free: 6.637 MB / 0.5762 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.002261/0.6956, allocations: 1.741 MB / 0.8619 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.6961, allocations: 303.1 kB / 0.8622 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.6963, allocations: 175.1 kB / 0.8623 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.6965, allocations: 99.94 kB / 0.8624 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.6965, allocations: 42.28 kB / 0.8625 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.886e-06/0.6965, allocations: 0 / 0.8625 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001723/0.6983, allocations: 1.054 MB / 0.8635 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.6983, allocations: 59.75 kB / 0.8636 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.6987, allocations: 456.3 kB / 0.864 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.6988, allocations: 36.27 kB / 0.864 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.699, allocations: 251.4 kB / 0.8643 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.6991, allocations: 111.4 kB / 0.8644 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.6992, allocations: 71.42 kB / 0.8644 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6993, allocations: 357.1 kB / 0.8648 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.6995, allocations: 130.7 kB / 0.8649 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.6997, allocations: 194 kB / 0.8651 GB, free: 2.797 MB / 0.5762 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.00173/0.7015, allocations: 0.8622 MB / 0.8659 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7015, allocations: 3.031 kB / 0.8659 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005361/0.702, allocations: 419.1 kB / 0.8663 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.702, allocations: 5 kB / 0.8663 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7021, allocations: 8.188 kB / 0.8663 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7021, allocations: 1.875 kB / 0.8663 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.7024, allocations: 81.41 kB / 0.8664 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.7024, allocations: 3.281 kB / 0.8664 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.7027, allocations: 16.8 kB / 0.8664 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.7028, allocations: 14.09 kB / 0.8665 GB, free: 2.008 MB / 0.5762 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.0002364/0.703, allocations: 210.2 kB / 0.8667 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.7031, allocations: 51.94 kB / 0.8667 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.7032, allocations: 64.47 kB / 0.8668 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7032, allocations: 2.219 kB / 0.8668 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.7033, allocations: 3.984 kB / 0.8668 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004518/0.7037, allocations: 410.6 kB / 0.8672 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.7053, allocations: 1.251 MB / 0.8684 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7054, allocations: 8.562 kB / 0.8684 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.7057, allocations: 70.98 kB / 0.8685 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.7057, allocations: 5.781 kB / 0.8685 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.7057, allocations: 10.81 kB / 0.8685 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.7058, allocations: 9.375 kB / 0.8685 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7058, allocations: 4.906 kB / 0.8685 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.7065, allocations: 0.7033 MB / 0.8692 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.7067, allocations: 168.6 kB / 0.8693 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.7068, allocations: 12.25 kB / 0.8694 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.7073, allocations: 25.94 kB / 0.8694 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.7073, allocations: 34.88 kB / 0.8694 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.7074, allocations: 20.78 kB / 0.8694 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003219/0.7077, allocations: 325 kB / 0.8697 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7077, allocations: 0 / 0.8697 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005112/0.7082, allocations: 148 kB / 0.8699 GB, free: 15.55 MB / 0.5919 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.0003729/0.7086, allocations: 177.4 kB / 0.8701 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.7091, allocations: 338.2 kB / 0.8704 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7091, allocations: 2.094 kB / 0.8704 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.7094, allocations: 164.5 kB / 0.8705 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.711, allocations: 370.8 kB / 0.8709 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.7126, allocations: 1.131 MB / 0.872 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.713, allocations: 0.8814 MB / 0.8729 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004592/0.7135, allocations: 136 kB / 0.873 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.7136, allocations: 46.66 kB / 0.873 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of SimCode: time 6.52e-07/0.7136, allocations: 4 kB / 0.873 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.01679/0.7304, allocations: 11.07 MB / 0.8838 GB, free: 6.398 MB / 0.5919 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)