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.001588/0.001588, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001876/0.001876, allocations: 190.8 kB / 16.13 MB, free: 6.66 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 278.6 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 92.62 kB / 0.5945 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.163, allocations: 86.99 MB / 0.6794 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5202/0.6832, allocations: 184.9 MB / 0.86 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.7011, allocations: 13.07 MB / 0.8727 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.7023, allocations: 27.06 kB / 0.8727 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.7036, allocations: 341.2 kB / 0.8731 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.7061, allocations: 0.877 MB / 0.8739 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.708, allocations: 0.6123 MB / 0.8745 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.7102, allocations: 2.11 MB / 0.8766 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008314/0.711, allocations: 0.5554 MB / 0.8771 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.7144, allocations: 1.588 MB / 0.8787 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.7158, allocations: 0.5259 MB / 0.8792 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.7159, allocations: 35.22 kB / 0.8792 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.7176, allocations: 0.9773 MB / 0.8802 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.7179, allocations: 260.2 kB / 0.8804 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.7184, allocations: 368.2 kB / 0.8808 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.7199, allocations: 1.177 MB / 0.8819 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7199, allocations: 0 / 0.8819 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.61e-07/0.7199, allocations: 0 / 0.8819 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.822e-05/0.7199, allocations: 0 / 0.8819 GB, free: 4.48 MB / 0.5919 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.001516/0.7215, allocations: 1.056 MB / 0.883 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.7215, allocations: 6.844 kB / 0.883 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.7224, allocations: 194.8 kB / 0.8832 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.7232, allocations: 0.5198 MB / 0.8837 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.7236, allocations: 98.94 kB / 0.8838 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.7236, allocations: 65.97 kB / 0.8838 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.7248, allocations: 0.7573 MB / 0.8846 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.7248, allocations: 6.75 kB / 0.8846 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.7249, allocations: 35.3 kB / 0.8846 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.7249, allocations: 25.36 kB / 0.8846 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009027/0.7258, allocations: 468.7 kB / 0.8851 GB, free: 2.176 MB / 0.5919 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.003739/0.7296, allocations: 4.165 MB / 0.8891 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.7297, allocations: 108.5 kB / 0.8892 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.7298, allocations: 69.75 kB / 0.8893 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.73, allocations: 102.1 kB / 0.8894 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.73, allocations: 34.56 kB / 0.8894 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.73, allocations: 2.688 kB / 0.8894 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006237/0.7306, allocations: 240.9 kB / 0.8897 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.7307, allocations: 135.7 kB / 0.8898 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.7317, allocations: 0.8267 MB / 0.8906 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.7318, allocations: 31.8 kB / 0.8906 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.7321, allocations: 400.3 kB / 0.891 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.7321, allocations: 42.78 kB / 0.8911 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.7322, allocations: 84.8 kB / 0.8911 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7323, allocations: 320.7 kB / 0.8914 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.7326, allocations: 116.3 kB / 0.8916 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.733, allocations: 342.5 kB / 0.8919 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.7336, allocations: 425.2 kB / 0.8923 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7336, allocations: 2.344 kB / 0.8923 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008891/0.7345, allocations: 487.5 kB / 0.8928 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7345, allocations: 7.188 kB / 0.8928 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7345, allocations: 7.75 kB / 0.8928 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.7346, allocations: 8.719 kB / 0.8928 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.7349, allocations: 94.17 kB / 0.8929 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.7349, allocations: 9.594 kB / 0.8929 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.7356, allocations: 124.2 kB / 0.893 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.7356, allocations: 32.05 kB / 0.893 GB, free: 11.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002759/0.7359, allocations: 232.4 kB / 0.8932 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.7361, allocations: 70.31 kB / 0.8933 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.7362, allocations: 69.34 kB / 0.8934 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7362, allocations: 0 / 0.8934 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.7362, allocations: 2.812 kB / 0.8934 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7362, allocations: 0 / 0.8934 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.7375, allocations: 1.137 MB / 0.8945 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7375, allocations: 2.344 kB / 0.8945 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.7376, allocations: 15.03 kB / 0.8945 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.7376, allocations: 6.719 kB / 0.8945 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.7376, allocations: 2.75 kB / 0.8945 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.7376, allocations: 8.969 kB / 0.8945 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7376, allocations: 1.812 kB / 0.8945 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.7379, allocations: 272.7 kB / 0.8948 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.7381, allocations: 163.6 kB / 0.8949 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.7382, allocations: 9.312 kB / 0.895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.7385, allocations: 24.59 kB / 0.895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.7386, allocations: 13.12 kB / 0.895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.7386, allocations: 12.88 kB / 0.895 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007604/0.7393, allocations: 0.5818 MB / 0.8956 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7394, allocations: 0 / 0.8956 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005963/0.74, allocations: 161.1 kB / 0.8957 GB, free: 9.215 MB / 0.6075 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.0004438/0.7404, allocations: 194.6 kB / 0.8959 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.7409, allocations: 225.4 kB / 0.8961 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7409, allocations: 3.125 kB / 0.8961 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.741, allocations: 53.59 kB / 0.8962 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.7426, allocations: 356.2 kB / 0.8965 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.7442, allocations: 1.273 MB / 0.8978 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.7447, allocations: 0.9372 MB / 0.8987 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005074/0.7453, allocations: 146.2 kB / 0.8988 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.7454, allocations: 47.44 kB / 0.8989 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/0.7454, allocations: 0 / 0.8989 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.01859/0.764, allocations: 11.28 MB / 0.9099 GB, free: 11.18 MB / 0.6231 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)