Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001744/0.001744, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001931/0.001932, allocations: 194.3 kB / 16.14 MB, free: 6.656 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.525/1.525, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 61.44 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3654, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002873/0.3683, allocations: 0.7099 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3695, allocations: 0.8001 MB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.3696, allocations: 0 / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.3698, allocations: 0 / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.3699, allocations: 19.92 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.941e-05/0.37, allocations: 4 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3701, allocations: 55.83 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3703, allocations: 19.98 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.3703, allocations: 19.88 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.3704, allocations: 27.89 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3705, allocations: 8 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.3705, allocations: 4 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.3705, allocations: 19.97 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.3706, allocations: 23.81 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.3707, allocations: 55.84 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3707, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.91e-07/0.3707, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3708, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 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.00077/0.3715, allocations: 399.5 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.3716, allocations: 8.031 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.3717, allocations: 12.78 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3719, allocations: 184.2 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.372, allocations: 4.375 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.372, allocations: 4.375 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.3725, allocations: 131.9 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3725, allocations: 4.188 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3725, allocations: 3.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3725, allocations: 0 / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.3729, allocations: 131.8 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009513/0.3739, allocations: 440.8 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3742, allocations: 89.12 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.3744, allocations: 65.72 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3744, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.3745, allocations: 42.48 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.3745, allocations: 0 / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0007078/0.3752, allocations: 193.3 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.3753, allocations: 77.11 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3754, allocations: 121.8 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3754, allocations: 25.7 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.3755, allocations: 100.2 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3756, allocations: 7.906 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.3756, allocations: 17.72 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3758, allocations: 315.2 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.376, allocations: 55.92 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.3762, allocations: 69.64 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.3765, allocations: 105.5 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3766, allocations: 7.875 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004057/0.377, allocations: 137.6 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.377, allocations: 5.25 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.377, allocations: 0 / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.377, allocations: 0 / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3772, allocations: 23.91 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.3772, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-05/0.3773, allocations: 27.97 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3773, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 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.0001142/0.3775, allocations: 121.8 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.3775, allocations: 7.906 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3776, allocations: 7.531 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3776, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/0.3776, allocations: 4 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3776, allocations: 3.938 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3779, allocations: 177.6 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3779, allocations: 4 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.378, allocations: 19.97 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.378, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.378, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.378, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.378, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.3785, allocations: 314.6 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.3786, allocations: 92.94 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3786, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3788, allocations: 11.98 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.3789, allocations: 15.92 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3789, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.379, allocations: 99.3 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.379, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002652/0.3792, allocations: 8 kB / 1.073 GB, free: 5.152 MB / 0.8262 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.0001654/0.3794, allocations: 107.2 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.3798, allocations: 111.9 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3798, allocations: 288 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.38, allocations: 63.92 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3804, allocations: 19.86 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.3809, allocations: 184.2 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3812, allocations: 0.6926 MB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.243e-05/0.3813, allocations: 19.84 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3813, allocations: 7.438 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/0.3814, allocations: 0 / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.003447/0.3848, allocations: 0.6523 MB / 1.075 GB, free: 3.246 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)