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.00147/0.001471, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001639/0.001639, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.671/1.671, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.813/1.813, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001419/0.001419, allocations: 69.64 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3068, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002138/0.309, allocations: 0.7076 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009279/0.3099, allocations: 0.7932 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.31, allocations: 0 / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3101, allocations: 3.938 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.3102, allocations: 11.98 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.717e-05/0.3103, allocations: 7.938 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3104, allocations: 63.83 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3105, allocations: 19.98 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.843e-05/0.3106, allocations: 27.92 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.3107, allocations: 27.91 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.3107, allocations: 4 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.3107, allocations: 4 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.3108, allocations: 27.91 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.3109, allocations: 27.88 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.876e-05/0.311, allocations: 63.78 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.311, allocations: 0 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.311, allocations: 0 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.311, allocations: 0 / 0.7846 GB, free: 12.1 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.0006255/0.3116, allocations: 390.1 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3117, allocations: 8.031 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.3117, allocations: 8.844 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.3119, allocations: 204.1 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3119, allocations: 4.375 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3119, allocations: 4.375 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.3123, allocations: 123.9 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3123, allocations: 4.188 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.3123, allocations: 7.938 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3123, allocations: 3.938 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.3127, allocations: 131.8 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.3133, allocations: 432.9 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3135, allocations: 89.2 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3137, allocations: 65.58 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3137, allocations: 4 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3138, allocations: 34.5 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3138, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006438/0.3144, allocations: 189.6 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3145, allocations: 85.09 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3146, allocations: 113.8 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3146, allocations: 25.7 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.3147, allocations: 104 kB / 0.7865 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.3147, allocations: 7.906 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3148, allocations: 9.719 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3149, allocations: 326.8 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3151, allocations: 52.3 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.3153, allocations: 61.64 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.3156, allocations: 113.6 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3156, allocations: 0 / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003553/0.3159, allocations: 137.4 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.316, allocations: 12.06 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.316, allocations: 3.984 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.316, allocations: 0 / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3161, allocations: 19.97 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3162, allocations: 0 / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.3162, allocations: 23.81 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3163, allocations: 8 kB / 0.7873 GB, free: 9.09 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 0.0001004/0.3164, allocations: 122.5 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.3164, allocations: 4 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.3165, allocations: 7.531 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3165, allocations: 0 / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3165, allocations: 0 / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3165, allocations: 3.938 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.3167, allocations: 177.6 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3167, allocations: 0 / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-05/0.3168, allocations: 23.97 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3168, allocations: 4 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3169, allocations: 4 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3169, allocations: 0 / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3169, allocations: 3.938 kB / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.3173, allocations: 314.5 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.3173, allocations: 85.09 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.3174, allocations: 0 / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.3175, allocations: 15.98 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.3176, allocations: 11.92 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3176, allocations: 0 / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.3176, allocations: 99.27 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3176, allocations: 0 / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002488/0.3179, allocations: 11.94 kB / 0.7881 GB, free: 8.121 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.0001381/0.318, allocations: 103.3 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.3184, allocations: 115.8 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3185, allocations: 0 / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.3186, allocations: 64.33 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.319, allocations: 11.92 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.3194, allocations: 190.2 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.3198, allocations: 0.7042 MB / 0.7893 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.435e-05/0.3199, allocations: 11.98 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.3199, allocations: 11.44 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3199, allocations: 0 / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of Templates: time 0.002974/0.3229, allocations: 0.6616 MB / 0.79 GB, free: 6.199 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)