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.00159/0.00159, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001753/0.001753, allocations: 191.8 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.553/1.553, 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.002525/0.002525, allocations: 288.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003414/0.003414, allocations: 103.8 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4475, allocations: 86.97 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2162/0.6637, allocations: 187.6 MB / 0.9503 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.458/1.122, allocations: 13.05 MB / 0.963 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/1.123, allocations: 29 kB / 0.9631 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/1.124, allocations: 429.3 kB / 0.9635 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002649/1.127, allocations: 0.9599 MB / 0.9644 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/1.129, allocations: 0.7174 MB / 0.9651 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002266/1.131, allocations: 1.496 MB / 0.9666 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00082/1.132, allocations: 0.5419 MB / 0.9671 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004092/1.136, allocations: 1.781 MB / 0.9688 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/1.137, allocations: 0.5065 MB / 0.9693 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/1.137, allocations: 53.53 kB / 0.9694 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/1.139, allocations: 0.876 MB / 0.9702 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/1.14, allocations: 284.1 kB / 0.9705 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005384/1.14, allocations: 387.2 kB / 0.9709 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001899/1.142, allocations: 1.184 MB / 0.972 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.142, allocations: 4.078 kB / 0.972 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/1.142, allocations: 0 / 0.972 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.142, allocations: 0.9688 kB / 0.972 GB, free: 1.617 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.001368/1.144, allocations: 1.074 MB / 0.9731 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/1.144, allocations: 10.59 kB / 0.9731 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/1.144, allocations: 198.7 kB / 0.9733 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008568/1.145, allocations: 0.5499 MB / 0.9738 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/1.145, allocations: 46.78 kB / 0.9739 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/1.145, allocations: 65.14 kB / 0.9739 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/1.146, allocations: 0.7697 MB / 0.9747 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.146, allocations: 3.656 kB / 0.9747 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/1.147, allocations: 28.72 kB / 0.9747 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/1.147, allocations: 28.39 kB / 0.9747 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/1.147, allocations: 462.2 kB / 0.9752 GB, free: 16.32 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.003875/1.151, allocations: 4.388 MB / 0.9795 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/1.151, allocations: 102.9 kB / 0.9796 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/1.151, allocations: 72.5 kB / 0.9796 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/1.152, allocations: 101.5 kB / 0.9797 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/1.152, allocations: 37.5 kB / 0.9798 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/1.152, allocations: 0 / 0.9798 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006667/1.152, allocations: 244.4 kB / 0.98 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.152, allocations: 132.2 kB / 0.9801 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.153, allocations: 0.8427 MB / 0.9809 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/1.153, allocations: 31.95 kB / 0.981 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/1.154, allocations: 409.6 kB / 0.9814 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/1.154, allocations: 41.7 kB / 0.9814 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.154, allocations: 88.98 kB / 0.9815 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.154, allocations: 332.5 kB / 0.9818 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/1.154, allocations: 108 kB / 0.9819 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/1.155, allocations: 361.6 kB / 0.9823 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/1.156, allocations: 443.3 kB / 0.9827 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.156, allocations: 1.203 kB / 0.9827 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009376/1.157, allocations: 0.501 MB / 0.9832 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.157, allocations: 14.3 kB / 0.9832 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.157, allocations: 5.75 kB / 0.9832 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.157, allocations: 10.78 kB / 0.9832 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/1.157, allocations: 98.56 kB / 0.9833 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.157, allocations: 16.72 kB / 0.9833 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007302/1.158, allocations: 115.9 kB / 0.9834 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.158, allocations: 28.38 kB / 0.9834 GB, free: 11.08 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.0002632/1.158, allocations: 233.2 kB / 0.9837 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/1.158, allocations: 78.06 kB / 0.9837 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.769e-05/1.158, allocations: 71.11 kB / 0.9838 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.158, allocations: 0.8438 kB / 0.9838 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/1.158, allocations: 2.625 kB / 0.9838 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.158, allocations: 0.75 kB / 0.9838 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/1.16, allocations: 1.125 MB / 0.9849 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.16, allocations: 3.219 kB / 0.9849 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/1.16, allocations: 16.67 kB / 0.9849 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.16, allocations: 3.406 kB / 0.9849 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/1.16, allocations: 9.469 kB / 0.9849 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.16, allocations: 5 kB / 0.985 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.16, allocations: 5.359 kB / 0.985 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/1.16, allocations: 275.7 kB / 0.9852 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/1.16, allocations: 177.6 kB / 0.9854 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/1.16, allocations: 4.781 kB / 0.9854 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/1.161, allocations: 24.34 kB / 0.9854 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/1.161, allocations: 6.875 kB / 0.9854 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/1.161, allocations: 15.95 kB / 0.9854 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007179/1.161, allocations: 0.588 MB / 0.986 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/1.161, allocations: 0 / 0.986 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005668/1.162, allocations: 152.5 kB / 0.9862 GB, free: 9.793 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.0004606/1.162, allocations: 195.1 kB / 0.9863 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005015/1.163, allocations: 237.9 kB / 0.9866 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.163, allocations: 0 / 0.9866 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/1.163, allocations: 44.56 kB / 0.9866 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.165, allocations: 388.7 kB / 0.987 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/1.166, allocations: 1.073 MB / 0.988 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/1.167, allocations: 0.9389 MB / 0.9889 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004173/1.167, allocations: 140.3 kB / 0.9891 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/1.167, allocations: 50.66 kB / 0.9891 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/1.167, allocations: 0.9688 kB / 0.9891 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of Templates: time 0.02042/1.188, allocations: 11.87 MB / 1.001 GB, free: 7.773 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)