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.007287/0.007287, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001632/0.001632, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 294.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9014/0.9014, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 99.84 kB / 0.6815 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.43, allocations: 86.97 MB / 0.7664 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1926/0.6226, allocations: 187.1 MB / 0.9491 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4268/1.05, allocations: 13.01 MB / 0.9618 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/1.051, allocations: 29.22 kB / 0.9618 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/1.052, allocations: 421.7 kB / 0.9622 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/1.054, allocations: 0.9172 MB / 0.9631 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/1.056, allocations: 0.7119 MB / 0.9638 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001744/1.058, allocations: 1.499 MB / 0.9653 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008215/1.058, allocations: 0.6562 MB / 0.9659 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/1.062, allocations: 1.727 MB / 0.9676 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/1.063, allocations: 0.5082 MB / 0.9681 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/1.063, allocations: 54.41 kB / 0.9682 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/1.065, allocations: 0.8737 MB / 0.969 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/1.065, allocations: 278.5 kB / 0.9693 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003632/1.065, allocations: 386.3 kB / 0.9697 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/1.067, allocations: 1.184 MB / 0.9708 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/1.067, allocations: 1.031 kB / 0.9708 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.225e-06/1.067, allocations: 2.531 kB / 0.9708 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.067, allocations: 2.547 kB / 0.9708 GB, free: 1.688 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.001459/1.068, allocations: 1.05 MB / 0.9718 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/1.068, allocations: 7.906 kB / 0.9719 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/1.069, allocations: 192.1 kB / 0.972 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/1.07, allocations: 0.5593 MB / 0.9726 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/1.07, allocations: 43.38 kB / 0.9726 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/1.07, allocations: 56.31 kB / 0.9727 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/1.071, allocations: 0.7752 MB / 0.9734 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.071, allocations: 6.094 kB / 0.9734 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/1.071, allocations: 28.09 kB / 0.9735 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/1.071, allocations: 22.22 kB / 0.9735 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007339/1.072, allocations: 458.1 kB / 0.9739 GB, free: 16.42 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.003192/1.075, allocations: 4.377 MB / 0.9782 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/1.075, allocations: 109 kB / 0.9783 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/1.075, allocations: 75.42 kB / 0.9784 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/1.075, allocations: 93.73 kB / 0.9785 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/1.075, allocations: 41.52 kB / 0.9785 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.525e-06/1.075, allocations: 0 / 0.9785 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005474/1.076, allocations: 240.2 kB / 0.9787 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.076, allocations: 135.2 kB / 0.9789 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/1.077, allocations: 0.8434 MB / 0.9797 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/1.077, allocations: 28.48 kB / 0.9797 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.077, allocations: 400.5 kB / 0.9801 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/1.077, allocations: 41.44 kB / 0.9801 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.077, allocations: 87.56 kB / 0.9802 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.077, allocations: 328.5 kB / 0.9805 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/1.077, allocations: 115.5 kB / 0.9806 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/1.078, allocations: 361.5 kB / 0.981 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/1.078, allocations: 440.6 kB / 0.9814 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/1.078, allocations: 4.188 kB / 0.9814 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007936/1.079, allocations: 0.4942 MB / 0.9819 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.079, allocations: 9.25 kB / 0.9819 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.079, allocations: 8.656 kB / 0.9819 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.079, allocations: 13.88 kB / 0.9819 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/1.08, allocations: 94.27 kB / 0.982 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.08, allocations: 16.28 kB / 0.982 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/1.08, allocations: 115 kB / 0.9821 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/1.08, allocations: 31.66 kB / 0.9822 GB, free: 11.21 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.0001999/1.08, allocations: 228.7 kB / 0.9824 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/1.081, allocations: 76.16 kB / 0.9825 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.243e-05/1.081, allocations: 73.61 kB / 0.9825 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.081, allocations: 5.5 kB / 0.9825 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.081, allocations: 0.875 kB / 0.9825 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.081, allocations: 2.625 kB / 0.9825 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.082, allocations: 1.125 MB / 0.9836 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.082, allocations: 3.531 kB / 0.9836 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/1.082, allocations: 19.06 kB / 0.9837 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.082, allocations: 5.25 kB / 0.9837 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/1.082, allocations: 4.406 kB / 0.9837 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.082, allocations: 3.484 kB / 0.9837 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.082, allocations: 2.75 kB / 0.9837 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/1.082, allocations: 270.1 kB / 0.9839 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/1.082, allocations: 167.6 kB / 0.9841 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/1.083, allocations: 6.219 kB / 0.9841 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/1.083, allocations: 15.03 kB / 0.9841 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/1.083, allocations: 18.38 kB / 0.9841 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/1.083, allocations: 7.375 kB / 0.9841 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007424/1.084, allocations: 0.5865 MB / 0.9847 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.084, allocations: 1.031 kB / 0.9847 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005595/1.084, allocations: 162.7 kB / 0.9849 GB, free: 9.941 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.0004843/1.085, allocations: 198.3 kB / 0.9851 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004825/1.085, allocations: 240.3 kB / 0.9853 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.085, allocations: 0.9688 kB / 0.9853 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/1.085, allocations: 50.33 kB / 0.9853 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.087, allocations: 384 kB / 0.9857 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/1.088, allocations: 1.06 MB / 0.9867 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/1.089, allocations: 0.9383 MB / 0.9877 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003579/1.089, allocations: 141.7 kB / 0.9878 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/1.089, allocations: 51.19 kB / 0.9878 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/1.089, allocations: 0 / 0.9878 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of Templates: time 0.01751/1.107, allocations: 12.01 MB / 0.9996 GB, free: 7.906 MB / 0.7325 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)