Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 198.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.013/2.013, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 75.06 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2835, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002267/0.2858, allocations: 0.6425 MB / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.2869, allocations: 0.8009 MB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.287, allocations: 3.938 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.905e-05/0.2871, allocations: 0 / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.938e-05/0.2872, allocations: 11.91 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.638e-05/0.2873, allocations: 8 kB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2874, allocations: 51.91 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.2876, allocations: 27.97 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.2877, allocations: 27.86 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.99e-05/0.2878, allocations: 23.91 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.2878, allocations: 4 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.2878, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.2879, allocations: 27.91 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.2879, allocations: 27.86 kB / 0.7858 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.288, allocations: 67.78 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2881, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2881, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2881, allocations: 4 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006099/0.2887, allocations: 391.2 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2887, allocations: 11.97 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.2888, allocations: 8.844 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.289, allocations: 192.2 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.289, allocations: 384 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.289, allocations: 4.375 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.2893, allocations: 139.8 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2894, allocations: 192 / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2894, allocations: 7.938 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2894, allocations: 4 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.2897, allocations: 123.8 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/0.2904, allocations: 432.8 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.2906, allocations: 93.09 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2908, allocations: 61.7 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2908, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.2909, allocations: 38.56 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.2909, allocations: 0 / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006421/0.2915, allocations: 189.4 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.2916, allocations: 81.11 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.2917, allocations: 117.8 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2917, allocations: 25.95 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.2918, allocations: 104 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.2918, allocations: 3.906 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.2919, allocations: 17.7 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.292, allocations: 318.8 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2921, allocations: 52.3 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.2923, allocations: 69.59 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.2926, allocations: 109.6 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2926, allocations: 0 / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003607/0.293, allocations: 141.5 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.293, allocations: 7.938 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.293, allocations: 0 / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2931, allocations: 0 / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2932, allocations: 19.97 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2932, allocations: 0 / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.2933, allocations: 35.89 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2933, allocations: 0 / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.011e-05/0.2934, allocations: 117.8 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.2935, allocations: 8 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2935, allocations: 7.516 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2935, allocations: 0 / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2935, allocations: 4 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2935, allocations: 7.922 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.2937, allocations: 181.6 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2938, allocations: 0 / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.2939, allocations: 23.97 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2939, allocations: 0 / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2939, allocations: 3.938 kB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2939, allocations: 0 / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2939, allocations: 0 / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.2943, allocations: 310.5 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.2944, allocations: 81.11 kB / 0.7892 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2944, allocations: 0 / 0.7892 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2945, allocations: 15.97 kB / 0.7892 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.2946, allocations: 11.92 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2946, allocations: 8.031 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.2947, allocations: 95.27 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.103e-06/0.2947, allocations: 0 / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002529/0.2949, allocations: 15.88 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001286/0.2951, allocations: 99.25 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.2955, allocations: 115.8 kB / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2955, allocations: 0 / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.2957, allocations: 68.14 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.296, allocations: 7.938 kB / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.2964, allocations: 166.5 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.2967, allocations: 0.704 MB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.906e-05/0.2968, allocations: 11.98 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.2968, allocations: 11.44 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2968, allocations: 0 / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.003095/0.2999, allocations: 0.799 MB / 0.7913 GB, free: 5.012 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)