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.00115/0.00115, allocations: 112.3 kB / 16.41 MB, free: 6.504 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.001097/0.001098, allocations: 183 kB / 17.34 MB, free: 5.762 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002211/0.002211, allocations: 283.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 91.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5102, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2022/0.7124, allocations: 187.1 MB / 0.9498 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4836/1.196, allocations: 13.01 MB / 0.9625 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/1.197, allocations: 29.47 kB / 0.9625 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/1.199, allocations: 418.5 kB / 0.9629 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/1.202, allocations: 0.9185 MB / 0.9638 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/1.204, allocations: 0.7103 MB / 0.9645 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002394/1.206, allocations: 1.5 MB / 0.966 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/1.207, allocations: 0.66 MB / 0.9666 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/1.212, allocations: 1.729 MB / 0.9683 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/1.213, allocations: 0.5016 MB / 0.9688 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/1.213, allocations: 53.62 kB / 0.9688 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/1.215, allocations: 0.8748 MB / 0.9697 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/1.216, allocations: 279.2 kB / 0.9699 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005148/1.216, allocations: 386.9 kB / 0.9703 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/1.218, allocations: 1.183 MB / 0.9715 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.218, allocations: 0 / 0.9715 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/1.218, allocations: 0.9062 kB / 0.9715 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.218, allocations: 1.375 kB / 0.9715 GB, free: 1.629 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.001529/1.22, allocations: 1.051 MB / 0.9725 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.22, allocations: 12.92 kB / 0.9725 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/1.221, allocations: 185.1 kB / 0.9727 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/1.221, allocations: 0.5576 MB / 0.9732 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/1.221, allocations: 47.59 kB / 0.9733 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/1.222, allocations: 55.25 kB / 0.9733 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/1.223, allocations: 0.7749 MB / 0.9741 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/1.223, allocations: 6.969 kB / 0.9741 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/1.223, allocations: 33.94 kB / 0.9741 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/1.223, allocations: 26.56 kB / 0.9741 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007932/1.224, allocations: 462.2 kB / 0.9746 GB, free: 16.36 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.003658/1.227, allocations: 4.372 MB / 0.9789 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/1.227, allocations: 106.8 kB / 0.979 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/1.227, allocations: 79.09 kB / 0.979 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/1.228, allocations: 97.02 kB / 0.9791 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/1.228, allocations: 34.89 kB / 0.9792 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/1.228, allocations: 0 / 0.9792 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006708/1.228, allocations: 248.6 kB / 0.9794 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/1.228, allocations: 129.6 kB / 0.9795 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/1.229, allocations: 0.8429 MB / 0.9803 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/1.229, allocations: 29.14 kB / 0.9804 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/1.23, allocations: 402.5 kB / 0.9808 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/1.23, allocations: 37.98 kB / 0.9808 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/1.23, allocations: 88.12 kB / 0.9809 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.23, allocations: 329.3 kB / 0.9812 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/1.23, allocations: 113.2 kB / 0.9813 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/1.231, allocations: 364.8 kB / 0.9816 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/1.231, allocations: 437.3 kB / 0.9821 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.231, allocations: 3.438 kB / 0.9821 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008522/1.232, allocations: 0.4904 MB / 0.9825 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.232, allocations: 9.531 kB / 0.9826 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.232, allocations: 12.73 kB / 0.9826 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.232, allocations: 8.531 kB / 0.9826 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/1.233, allocations: 93.78 kB / 0.9827 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.233, allocations: 18.23 kB / 0.9827 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/1.233, allocations: 118.7 kB / 0.9828 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/1.233, allocations: 27 kB / 0.9828 GB, free: 11.15 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.0002576/1.234, allocations: 236.1 kB / 0.983 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/1.234, allocations: 71.38 kB / 0.9831 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/1.234, allocations: 75.52 kB / 0.9832 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.234, allocations: 3.75 kB / 0.9832 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.234, allocations: 0.9375 kB / 0.9832 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.234, allocations: 0 / 0.9832 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/1.235, allocations: 1.127 MB / 0.9843 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.235, allocations: 7.562 kB / 0.9843 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.869e-05/1.235, allocations: 20.58 kB / 0.9843 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.235, allocations: 7.578 kB / 0.9843 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/1.235, allocations: 5.281 kB / 0.9843 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/1.235, allocations: 7.188 kB / 0.9843 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.235, allocations: 4.062 kB / 0.9843 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/1.236, allocations: 266.4 kB / 0.9846 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/1.236, allocations: 169.9 kB / 0.9848 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/1.236, allocations: 9.562 kB / 0.9848 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/1.236, allocations: 18.05 kB / 0.9848 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/1.236, allocations: 9.281 kB / 0.9848 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/1.236, allocations: 13.03 kB / 0.9848 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006873/1.237, allocations: 0.5859 MB / 0.9854 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.237, allocations: 0.9688 kB / 0.9854 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005577/1.238, allocations: 161.9 kB / 0.9855 GB, free: 9.871 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.0004313/1.238, allocations: 193.3 kB / 0.9857 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004854/1.238, allocations: 238.1 kB / 0.9859 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.239, allocations: 5.969 kB / 0.986 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/1.239, allocations: 45.7 kB / 0.986 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/1.24, allocations: 380.5 kB / 0.9864 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/1.242, allocations: 1.112 MB / 0.9874 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/1.242, allocations: 0.933 MB / 0.9884 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.242, allocations: 54.16 kB / 0.9884 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/1.242, allocations: 0 / 0.9884 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of Templates: time 0.01574/1.258, allocations: 10.75 MB / 0.9989 GB, free: 7.641 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)