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.006328/0.006328, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001454/0.001454, allocations: 190.1 kB / 16.67 MB, free: 5.953 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 / 240.4 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.00195/0.00195, allocations: 293.9 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9439/0.9439, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 103.8 kB / 0.6815 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4505, allocations: 86.97 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2089/0.6594, allocations: 187.1 MB / 0.9491 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4177/1.077, allocations: 13.01 MB / 0.9618 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/1.079, allocations: 29.31 kB / 0.9618 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/1.08, allocations: 416.4 kB / 0.9622 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/1.082, allocations: 0.9225 MB / 0.9631 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/1.084, allocations: 0.7045 MB / 0.9638 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001977/1.086, allocations: 1.504 MB / 0.9653 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/1.087, allocations: 0.6564 MB / 0.9659 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/1.091, allocations: 1.732 MB / 0.9676 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/1.092, allocations: 0.5044 MB / 0.9681 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.529e-05/1.092, allocations: 54.09 kB / 0.9682 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/1.094, allocations: 0.8698 MB / 0.969 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/1.094, allocations: 279.4 kB / 0.9693 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004602/1.095, allocations: 388 kB / 0.9697 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/1.096, allocations: 1.178 MB / 0.9708 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.097, allocations: 5.391 kB / 0.9708 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/1.097, allocations: 0 / 0.9708 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.097, allocations: 0 / 0.9708 GB, free: 1.648 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.001489/1.098, allocations: 1.051 MB / 0.9718 GB, free: 17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.098, allocations: 9.531 kB / 0.9718 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/1.099, allocations: 188.9 kB / 0.972 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/1.1, allocations: 0.5624 MB / 0.9726 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/1.1, allocations: 48.72 kB / 0.9726 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/1.1, allocations: 56.44 kB / 0.9727 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000943/1.101, allocations: 0.7719 MB / 0.9734 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.101, allocations: 6.656 kB / 0.9734 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/1.101, allocations: 28.59 kB / 0.9735 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/1.101, allocations: 23.22 kB / 0.9735 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/1.102, allocations: 460.2 kB / 0.9739 GB, free: 16.38 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.003432/1.105, allocations: 4.383 MB / 0.9782 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/1.105, allocations: 100 kB / 0.9783 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/1.105, allocations: 75.67 kB / 0.9784 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/1.106, allocations: 101.4 kB / 0.9785 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.106, allocations: 32.38 kB / 0.9785 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/1.106, allocations: 2.812 kB / 0.9785 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006385/1.106, allocations: 242.5 kB / 0.9787 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/1.106, allocations: 135.3 kB / 0.9789 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009099/1.107, allocations: 0.8395 MB / 0.9797 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/1.107, allocations: 29.08 kB / 0.9797 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/1.107, allocations: 407.9 kB / 0.9801 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/1.107, allocations: 36.75 kB / 0.9801 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/1.108, allocations: 91.41 kB / 0.9802 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.108, allocations: 325.3 kB / 0.9805 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/1.108, allocations: 111.9 kB / 0.9806 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/1.108, allocations: 363.3 kB / 0.981 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/1.109, allocations: 443.3 kB / 0.9814 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.109, allocations: 4.688 kB / 0.9814 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007919/1.11, allocations: 0.4904 MB / 0.9819 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.11, allocations: 10.17 kB / 0.9819 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.11, allocations: 11.81 kB / 0.9819 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/1.11, allocations: 11.72 kB / 0.9819 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/1.11, allocations: 96 kB / 0.982 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/1.11, allocations: 13.97 kB / 0.982 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006441/1.111, allocations: 121.5 kB / 0.9821 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/1.111, allocations: 22.66 kB / 0.9822 GB, free: 11.17 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.0002379/1.111, allocations: 237.3 kB / 0.9824 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/1.111, allocations: 72.5 kB / 0.9825 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.591e-05/1.111, allocations: 77.2 kB / 0.9825 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.111, allocations: 2.281 kB / 0.9825 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.111, allocations: 5.062 kB / 0.9825 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.111, allocations: 2.438 kB / 0.9825 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.113, allocations: 1.121 MB / 0.9836 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.113, allocations: 3.219 kB / 0.9836 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/1.113, allocations: 24.62 kB / 0.9837 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.113, allocations: 3.219 kB / 0.9837 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/1.113, allocations: 3.719 kB / 0.9837 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/1.113, allocations: 7.406 kB / 0.9837 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.113, allocations: 5.625 kB / 0.9837 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/1.113, allocations: 266.9 kB / 0.9839 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/1.113, allocations: 165 kB / 0.9841 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/1.113, allocations: 12.11 kB / 0.9841 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/1.114, allocations: 15.2 kB / 0.9841 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/1.114, allocations: 16.64 kB / 0.9841 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/1.114, allocations: 6.344 kB / 0.9841 GB, free: 10 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006605/1.114, allocations: 0.5899 MB / 0.9847 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.114, allocations: 0.8125 kB / 0.9847 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005386/1.115, allocations: 160 kB / 0.9849 GB, free: 9.891 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.0003956/1.115, allocations: 181.1 kB / 0.985 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000447/1.116, allocations: 248.1 kB / 0.9853 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.116, allocations: 2.5 kB / 0.9853 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/1.116, allocations: 50.75 kB / 0.9853 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.117, allocations: 383.5 kB / 0.9857 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/1.119, allocations: 1.062 MB / 0.9867 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/1.119, allocations: 0.936 MB / 0.9877 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003995/1.12, allocations: 149 kB / 0.9878 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/1.12, allocations: 48.59 kB / 0.9878 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/1.12, allocations: 1.094 kB / 0.9878 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of Templates: time 0.01852/1.138, allocations: 12 MB / 0.9996 GB, free: 7.855 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)