Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7681/0.7681, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 186.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009439, allocations: 95.84 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001727/0.001728, allocations: 267.7 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.652e-05, allocations: 11.92 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4747, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.735/5.209, allocations: 1.882 GB / 2.646 GB, free: 165.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/5.21, allocations: 87.89 kB / 2.646 GB, free: 165.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.155/6.364, allocations: 372 MB / 3.009 GB, free: 65.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/6.364, allocations: 0 / 3.009 GB, free: 65.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.871e-05/6.364, allocations: 16 kB / 3.009 GB, free: 65.37 MB / 0.698 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.001859/6.366, allocations: 0.8805 MB / 3.01 GB, free: 64.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/6.366, allocations: 12.03 kB / 3.01 GB, free: 64.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/6.368, allocations: 167.1 kB / 3.01 GB, free: 64.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009771/6.369, allocations: 0.5455 MB / 3.011 GB, free: 63.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/6.369, allocations: 33 kB / 3.011 GB, free: 63.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.376e-05/6.369, allocations: 47.95 kB / 3.011 GB, free: 63.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/6.369, allocations: 422.5 kB / 3.011 GB, free: 63.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/6.369, allocations: 4 kB / 3.011 GB, free: 63.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/6.369, allocations: 16 kB / 3.011 GB, free: 63.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/6.369, allocations: 17 kB / 3.011 GB, free: 63.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/6.37, allocations: 359.9 kB / 3.012 GB, free: 62.8 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00234/6.372, allocations: 2.014 MB / 3.014 GB, free: 60.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/6.373, allocations: 254.5 kB / 3.014 GB, free: 60.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/6.373, allocations: 172.8 kB / 3.014 GB, free: 60.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/6.373, allocations: 190.2 kB / 3.014 GB, free: 59.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/6.373, allocations: 42.56 kB / 3.014 GB, free: 59.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/6.373, allocations: 3.938 kB / 3.014 GB, free: 59.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0008409/6.374, allocations: 391.6 kB / 3.015 GB, free: 59.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/6.374, allocations: 55.41 kB / 3.015 GB, free: 59.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/6.374, allocations: 379.2 kB / 3.015 GB, free: 59.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/6.374, allocations: 33.7 kB / 3.015 GB, free: 59.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/6.375, allocations: 276.2 kB / 3.015 GB, free: 58.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/6.375, allocations: 102.4 kB / 3.016 GB, free: 58.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/6.375, allocations: 8 kB / 3.016 GB, free: 58.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/6.375, allocations: 354.8 kB / 3.016 GB, free: 58.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/6.375, allocations: 108 kB / 3.016 GB, free: 58.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/6.375, allocations: 201.1 kB / 3.016 GB, free: 57.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/6.375, allocations: 141.5 kB / 3.016 GB, free: 57.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/6.375, allocations: 8 kB / 3.016 GB, free: 57.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004479/6.376, allocations: 368.9 kB / 3.017 GB, free: 57.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/6.376, allocations: 0.5216 MB / 3.017 GB, free: 56.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/6.376, allocations: 0 / 3.017 GB, free: 56.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/6.376, allocations: 4 kB / 3.017 GB, free: 56.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/6.376, allocations: 87.78 kB / 3.017 GB, free: 56.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/6.376, allocations: 0 / 3.017 GB, free: 56.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/6.377, allocations: 59.66 kB / 3.017 GB, free: 56.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/6.377, allocations: 19.98 kB / 3.017 GB, free: 56.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/6.377, allocations: 4 kB / 3.017 GB, free: 56.71 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003786/6.377, allocations: 292.1 kB / 3.018 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/6.377, allocations: 7.984 kB / 3.018 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/6.377, allocations: 0 / 3.018 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/6.378, allocations: 75.89 kB / 3.018 GB, free: 56.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/6.378, allocations: 8.156 kB / 3.018 GB, free: 56.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/6.378, allocations: 43.81 kB / 3.018 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/6.378, allocations: 19.98 kB / 3.018 GB, free: 56.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.681e-05/6.378, allocations: 134.2 kB / 3.018 GB, free: 56.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/6.378, allocations: 51.34 kB / 3.018 GB, free: 56.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/6.379, allocations: 387.5 kB / 3.018 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/6.379, allocations: 4 kB / 3.018 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/6.379, allocations: 0 / 3.018 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004619/6.379, allocations: 413.1 kB / 3.019 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/6.381, allocations: 1.1 MB / 3.02 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/6.381, allocations: 8.031 kB / 3.02 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/6.381, allocations: 71.83 kB / 3.02 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/6.381, allocations: 40.83 kB / 3.02 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/6.381, allocations: 11.94 kB / 3.02 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008861/6.382, allocations: 1.433 MB / 3.021 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/6.382, allocations: 3.938 kB / 3.021 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/6.383, allocations: 0.7442 MB / 3.022 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/6.383, allocations: 164.5 kB / 3.022 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/6.383, allocations: 11.95 kB / 3.022 GB, free: 51.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/6.384, allocations: 43.94 kB / 3.022 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/6.384, allocations: 19.97 kB / 3.022 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/6.384, allocations: 15.98 kB / 3.022 GB, free: 51.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002897/6.384, allocations: 301.2 kB / 3.023 GB, free: 50.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/6.384, allocations: 0 / 3.023 GB, free: 50.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001232/6.385, allocations: 411.3 kB / 3.023 GB, free: 50.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001509/6.387, allocations: 1.111 MB / 3.024 GB, free: 49.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007134/6.388, allocations: 462.9 kB / 3.025 GB, free: 48.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/6.388, allocations: 0 / 3.025 GB, free: 48.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/6.388, allocations: 276.7 kB / 3.025 GB, free: 48.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/6.389, allocations: 309.3 kB / 3.025 GB, free: 48.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/6.391, allocations: 0.8243 MB / 3.026 GB, free: 47.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/6.391, allocations: 0.9072 MB / 3.027 GB, free: 46.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006922/6.392, allocations: 208.3 kB / 3.027 GB, free: 46.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/6.392, allocations: 39.42 kB / 3.027 GB, free: 46.36 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/6.392, allocations: 0 / 3.027 GB, free: 46.36 MB / 0.698 GB Notification: Performance of Templates: time 0.03227/6.424, allocations: 26.65 MB / 3.053 GB, free: 19.81 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)