Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00765/0.00765, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001844/0.001843, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 286.2 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9637/0.9637, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 91.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1665, allocations: 86.97 MB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.548/0.7145, allocations: 187.1 MB / 0.9491 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.7293, allocations: 13.04 MB / 0.9618 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.7304, allocations: 31.81 kB / 0.9619 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.7317, allocations: 413.3 kB / 0.9623 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.7339, allocations: 0.9214 MB / 0.9632 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.7358, allocations: 0.7207 MB / 0.9639 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001985/0.7378, allocations: 1.5 MB / 0.9653 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009/0.7387, allocations: 0.6453 MB / 0.966 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.7424, allocations: 1.716 MB / 0.9676 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.7436, allocations: 0.5026 MB / 0.9681 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.053e-05/0.7437, allocations: 56 kB / 0.9682 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.7452, allocations: 0.8731 MB / 0.969 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.7455, allocations: 283.2 kB / 0.9693 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.7459, allocations: 382 kB / 0.9697 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.7473, allocations: 1.186 MB / 0.9708 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7473, allocations: 4 kB / 0.9708 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7473, allocations: 0 / 0.9708 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.7474, allocations: 3.984 kB / 0.9708 GB, free: 1.273 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001349/0.7487, allocations: 1.07 MB / 0.9719 GB, free: 152 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7488, allocations: 8.031 kB / 0.9719 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009126/0.7497, allocations: 203.2 kB / 0.9721 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.7504, allocations: 0.5524 MB / 0.9726 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.7505, allocations: 53.23 kB / 0.9727 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.7506, allocations: 56 kB / 0.9727 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7516, allocations: 0.7711 MB / 0.9735 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.7517, allocations: 3.938 kB / 0.9735 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.7517, allocations: 31.94 kB / 0.9735 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.7518, allocations: 24.98 kB / 0.9735 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008353/0.7526, allocations: 459.3 kB / 0.974 GB, free: 13.86 MB / 0.7325 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.003378/0.756, allocations: 4.388 MB / 0.9783 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.7561, allocations: 98.36 kB / 0.9783 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.622e-05/0.7562, allocations: 79.58 kB / 0.9784 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.7564, allocations: 93.09 kB / 0.9785 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7564, allocations: 42.5 kB / 0.9786 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.7564, allocations: 0 / 0.9786 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.000623/0.7571, allocations: 245.3 kB / 0.9788 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.7571, allocations: 140.5 kB / 0.9789 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7581, allocations: 0.8331 MB / 0.9797 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.7582, allocations: 33.77 kB / 0.9798 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.7585, allocations: 411.6 kB / 0.9802 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.7585, allocations: 43.67 kB / 0.9802 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.7587, allocations: 89.98 kB / 0.9803 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.7588, allocations: 325.9 kB / 0.9806 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.759, allocations: 112.7 kB / 0.9807 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.7595, allocations: 366.2 kB / 0.9811 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.76, allocations: 441.5 kB / 0.9815 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.76, allocations: 8 kB / 0.9815 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008656/0.7609, allocations: 0.4894 MB / 0.982 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7609, allocations: 8 kB / 0.982 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.7609, allocations: 11.94 kB / 0.982 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.7609, allocations: 12 kB / 0.982 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.7613, allocations: 95.81 kB / 0.9821 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.7613, allocations: 11.94 kB / 0.9821 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.7619, allocations: 119.5 kB / 0.9822 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.762, allocations: 31.92 kB / 0.9822 GB, free: 4.793 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.000232/0.7622, allocations: 226.3 kB / 0.9825 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.7623, allocations: 79.48 kB / 0.9825 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.7624, allocations: 78.17 kB / 0.9826 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7625, allocations: 0 / 0.9826 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7625, allocations: 0 / 0.9826 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7625, allocations: 4 kB / 0.9826 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.7637, allocations: 1.12 MB / 0.9837 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7637, allocations: 4 kB / 0.9837 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.7638, allocations: 23.92 kB / 0.9837 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7638, allocations: 0 / 0.9837 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.7638, allocations: 4.312 kB / 0.9837 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.7638, allocations: 11.88 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7638, allocations: 7.938 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.7641, allocations: 264.2 kB / 0.984 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.7643, allocations: 180.5 kB / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/0.7644, allocations: 4 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.7647, allocations: 19.98 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.7647, allocations: 19.86 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.7648, allocations: 4 kB / 0.9842 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000746/0.7655, allocations: 0.5849 MB / 0.9848 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7655, allocations: 4 kB / 0.9848 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005322/0.7661, allocations: 159.8 kB / 0.9849 GB, free: 1.855 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004019/0.7665, allocations: 189.5 kB / 0.9851 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.767, allocations: 256.1 kB / 0.9854 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.767, allocations: 1.25 kB / 0.9854 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/0.7671, allocations: 52.17 kB / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.7686, allocations: 370.5 kB / 0.9858 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.7699, allocations: 1.072 MB / 0.9868 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.7704, allocations: 0.937 MB / 0.9877 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004059/0.7708, allocations: 150.1 kB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.7709, allocations: 47.44 kB / 0.9879 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.7709, allocations: 0 / 0.9879 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of Templates: time 0.01926/0.7902, allocations: 11.82 MB / 0.9995 GB, free: 3.18 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)