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.0008911/0.0008907, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01053/0.01053, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.77/1.77, allocations: 205.4 MB / 222.4 MB, free: 5.805 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 1.986/1.986, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005945/0.0005945, allocations: 14.19 kB / 0.6743 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2916, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.0008099/0.2925, allocations: 381.5 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.2935, allocations: 0.7854 MB / 0.789 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.2935, allocations: 4 kB / 0.789 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.399e-05/0.2936, allocations: 3.938 kB / 0.789 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.397e-05/0.2937, allocations: 15.97 kB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.265e-05/0.2938, allocations: 4 kB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.697e-05/0.2939, allocations: 55.78 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.294, allocations: 27.98 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.2941, allocations: 19.92 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.2942, allocations: 23.91 kB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2942, allocations: 0 / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.2942, allocations: 4 kB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.2943, allocations: 19.92 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.2943, allocations: 45.56 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.408e-05/0.2944, allocations: 71.75 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2944, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.286e-06/0.2944, allocations: 3.938 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2945, allocations: 3.938 kB / 0.7893 GB, free: 10.11 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.0006022/0.2951, allocations: 383.6 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2951, allocations: 12.03 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.2952, allocations: 12.84 kB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.2953, allocations: 188.3 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.2953, allocations: 384 / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2954, allocations: 4.375 kB / 0.7899 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.2957, allocations: 143.8 kB / 0.79 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2958, allocations: 4.172 kB / 0.79 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2958, allocations: 11.94 kB / 0.79 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2958, allocations: 0 / 0.79 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.2962, allocations: 147.8 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.2969, allocations: 444.8 kB / 0.7906 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.2972, allocations: 105.1 kB / 0.7907 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.2974, allocations: 73.72 kB / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.2974, allocations: 3.984 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2974, allocations: 38.56 kB / 0.7908 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.2974, allocations: 3.938 kB / 0.7908 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0007235/0.2982, allocations: 225.6 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.2982, allocations: 77.11 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2983, allocations: 117.8 kB / 0.7912 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.2984, allocations: 26.08 kB / 0.7912 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.2985, allocations: 104 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.2985, allocations: 3.906 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.2985, allocations: 9.719 kB / 0.7914 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2987, allocations: 330.8 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.2989, allocations: 63.86 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2991, allocations: 77.64 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.2995, allocations: 129.7 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2995, allocations: 0 / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004139/0.2999, allocations: 157.5 kB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2999, allocations: 4 kB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2999, allocations: 4.062 kB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2999, allocations: 4 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3001, allocations: 23.97 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3001, allocations: 0 / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.3002, allocations: 23.91 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3002, allocations: 4 kB / 0.7921 GB, free: 6.945 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 8.899e-05/0.3003, allocations: 125.8 kB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.3004, allocations: 3.906 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.3004, allocations: 11.53 kB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3004, allocations: 0 / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3004, allocations: 0 / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3004, allocations: 3.938 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3007, allocations: 177.6 kB / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3007, allocations: 0 / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3008, allocations: 31.91 kB / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3008, allocations: 4 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3008, allocations: 4 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3008, allocations: 0 / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3008, allocations: 0 / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.3013, allocations: 330.6 kB / 0.7928 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3014, allocations: 93.03 kB / 0.7929 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3014, allocations: 0 / 0.7929 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3016, allocations: 19.98 kB / 0.7929 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.3016, allocations: 11.92 kB / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3017, allocations: 0 / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.3017, allocations: 103.2 kB / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3017, allocations: 288 / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002653/0.302, allocations: 15.94 kB / 0.793 GB, free: 5.93 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.0001313/0.3021, allocations: 103.2 kB / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.3026, allocations: 135.8 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3026, allocations: 0 / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3028, allocations: 76.05 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3032, allocations: 11.98 kB / 0.7933 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.3035, allocations: 181.1 kB / 0.7935 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3038, allocations: 0.7003 MB / 0.7942 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.942e-05/0.3039, allocations: 15.98 kB / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.3039, allocations: 7.438 kB / 0.7942 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.3039, allocations: 0 / 0.7942 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.002506/0.3064, allocations: 0.6408 MB / 0.7948 GB, free: 4.016 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: