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.001441/0.001441, allocations: 109.7 kB / 16.37 MB, free: 6.473 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.001627/0.001627, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 284.5 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.9508/0.9508, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 95.42 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.17, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4629/0.633, allocations: 187.1 MB / 0.8643 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.6473, allocations: 13.03 MB / 0.877 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.6486, allocations: 31.81 kB / 0.877 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.6498, allocations: 409.3 kB / 0.8774 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.6521, allocations: 0.9214 MB / 0.8783 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.6538, allocations: 0.7092 MB / 0.879 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.6555, allocations: 1.499 MB / 0.8805 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.6563, allocations: 0.6623 MB / 0.8811 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.6596, allocations: 1.72 MB / 0.8828 GB, free: 276 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.6608, allocations: 0.4947 MB / 0.8833 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.6609, allocations: 56 kB / 0.8834 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.6623, allocations: 0.8729 MB / 0.8842 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.6626, allocations: 279.2 kB / 0.8845 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.663, allocations: 386 kB / 0.8848 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.6644, allocations: 1.18 MB / 0.886 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6644, allocations: 0 / 0.886 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6644, allocations: 0 / 0.886 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.6644, allocations: 4 kB / 0.886 GB, free: 13.01 MB / 0.6544 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.001294/0.6657, allocations: 1.048 MB / 0.887 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6657, allocations: 15.97 kB / 0.887 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.6666, allocations: 194.8 kB / 0.8872 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.6674, allocations: 0.5482 MB / 0.8878 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.6675, allocations: 41.31 kB / 0.8878 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.6676, allocations: 56 kB / 0.8879 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.6686, allocations: 0.7828 MB / 0.8886 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.6686, allocations: 3.938 kB / 0.8886 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.6687, allocations: 31.8 kB / 0.8887 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.6687, allocations: 24.94 kB / 0.8887 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.6696, allocations: 463.3 kB / 0.8891 GB, free: 9.629 MB / 0.6544 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.003386/0.6729, allocations: 4.378 MB / 0.8934 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.6731, allocations: 110.4 kB / 0.8935 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.6732, allocations: 71.5 kB / 0.8936 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.6734, allocations: 97.09 kB / 0.8937 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.6734, allocations: 38.5 kB / 0.8937 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.6734, allocations: 4 kB / 0.8937 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006139/0.674, allocations: 237.2 kB / 0.8939 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.6741, allocations: 132.5 kB / 0.8941 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.6751, allocations: 0.8407 MB / 0.8949 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.6751, allocations: 33.7 kB / 0.8949 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.6754, allocations: 402.9 kB / 0.8953 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.6754, allocations: 43.48 kB / 0.8953 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.6756, allocations: 89.88 kB / 0.8954 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.6757, allocations: 325.9 kB / 0.8957 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.6759, allocations: 108.7 kB / 0.8958 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.6763, allocations: 370.4 kB / 0.8962 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.6768, allocations: 437.6 kB / 0.8966 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6768, allocations: 0 / 0.8966 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008257/0.6777, allocations: 0.4969 MB / 0.8971 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6777, allocations: 12.03 kB / 0.8971 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.6777, allocations: 8 kB / 0.8971 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6777, allocations: 12 kB / 0.8971 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.6781, allocations: 95.83 kB / 0.8972 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.6781, allocations: 15.92 kB / 0.8972 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.6787, allocations: 119 kB / 0.8973 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.6787, allocations: 20 kB / 0.8974 GB, free: 0.5781 MB / 0.6544 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.0002243/0.679, allocations: 233.5 kB / 0.8976 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.6791, allocations: 75.06 kB / 0.8977 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.476e-05/0.6792, allocations: 70.17 kB / 0.8977 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6792, allocations: 8 kB / 0.8977 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6792, allocations: 0 / 0.8977 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6792, allocations: 3.938 kB / 0.8977 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.6806, allocations: 1.128 MB / 0.8988 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.6806, allocations: 5.125 kB / 0.8988 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.6807, allocations: 15.94 kB / 0.8989 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6807, allocations: 4 kB / 0.8989 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.6807, allocations: 4 kB / 0.8989 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.6807, allocations: 7.984 kB / 0.8989 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6807, allocations: 320 / 0.8989 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.681, allocations: 267.8 kB / 0.8991 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.6813, allocations: 172.1 kB / 0.8993 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.6814, allocations: 8.859 kB / 0.8993 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.6817, allocations: 11.98 kB / 0.8993 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.6817, allocations: 19.94 kB / 0.8993 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.6817, allocations: 4 kB / 0.8993 GB, free: 14.39 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000791/0.6825, allocations: 0.5888 MB / 0.8999 GB, free: 13.81 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.653e-06/0.6825, allocations: 0 / 0.8999 GB, free: 13.81 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005674/0.6831, allocations: 155.8 kB / 0.9001 GB, free: 13.66 MB / 0.67 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.000492/0.6836, allocations: 213.4 kB / 0.9003 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.6841, allocations: 237 kB / 0.9005 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6841, allocations: 0 / 0.9005 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/0.6842, allocations: 52.66 kB / 0.9005 GB, free: 13.18 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.6858, allocations: 371.8 kB / 0.9009 GB, free: 12.82 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.6873, allocations: 1.058 MB / 0.9019 GB, free: 11.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.6879, allocations: 0.9409 MB / 0.9028 GB, free: 10.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005741/0.6885, allocations: 150.1 kB / 0.903 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.6886, allocations: 43.44 kB / 0.903 GB, free: 10.54 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.6886, allocations: 0 / 0.903 GB, free: 10.54 MB / 0.67 GB Notification: Performance of Templates: time 0.02873/0.7174, allocations: 11.71 MB / 0.9145 GB, free: 15.09 MB / 0.6856 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)