Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 80.81 kB / 21.54 MB, free: 2.953 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 160.2 kB / 24.96 MB, free: 8.699 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.061/1.061, allocations: 177.1 MB / 205.4 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.938/1.938, allocations: 389.6 MB / 0.6362 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.776 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.246e-05, allocations: 2.312 kB / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001431/0.001454, allocations: 0.7109 MB / 0.7767 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002567, allocations: 0.8425 MB / 0.7775 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.002624, allocations: 0 / 0.7775 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.002733, allocations: 11.94 kB / 0.7775 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.002824, allocations: 6.281 kB / 0.7775 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.669e-05/0.002881, allocations: 8.688 kB / 0.7775 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.002974, allocations: 56.12 kB / 0.7776 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.003069, allocations: 15.92 kB / 0.7776 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.003136, allocations: 37.2 kB / 0.7776 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.003208, allocations: 30.48 kB / 0.7776 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.003226, allocations: 4 kB / 0.7777 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-06/0.003236, allocations: 5.219 kB / 0.7777 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.003279, allocations: 21.94 kB / 0.7777 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.003306, allocations: 17.36 kB / 0.7777 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.611e-05/0.003392, allocations: 56.75 kB / 0.7777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.003395, allocations: 3.984 kB / 0.7778 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003396, allocations: 0 / 0.7778 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.0034, allocations: 4.906 kB / 0.7778 GB, free: 3.594 MB / 0.7292 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.0002755/0.003676, allocations: 268.6 kB / 0.778 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.003707, allocations: 9.344 kB / 0.778 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.003731, allocations: 8.922 kB / 0.778 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.668e-05/0.003828, allocations: 117.8 kB / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.003835, allocations: 4.375 kB / 0.7781 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-06/0.003844, allocations: 4.375 kB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.003976, allocations: 96.53 kB / 0.7782 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.003981, allocations: 4.188 kB / 0.7782 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.003991, allocations: 4.375 kB / 0.7783 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.003995, allocations: 384 / 0.7783 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.004022, allocations: 18.88 kB / 0.7783 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.004273, allocations: 275.2 kB / 0.7785 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.126e-05/0.004314, allocations: 37.09 kB / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.004334, allocations: 21.91 kB / 0.7786 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.004344, allocations: 3.938 kB / 0.7786 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.004364, allocations: 34.55 kB / 0.7786 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.004365, allocations: 0.6875 kB / 0.7786 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001077/0.004473, allocations: 43.42 kB / 0.7787 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.004503, allocations: 81.05 kB / 0.7787 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.309e-05/0.004556, allocations: 118.7 kB / 0.7789 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.004564, allocations: 25.7 kB / 0.7789 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.004597, allocations: 100.9 kB / 0.779 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.004613, allocations: 3.953 kB / 0.779 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.004641, allocations: 22.27 kB / 0.779 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.004706, allocations: 314.8 kB / 0.7793 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.004718, allocations: 7.906 kB / 0.7793 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.004733, allocations: 9.719 kB / 0.7793 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.004762, allocations: 24.53 kB / 0.7793 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004763, allocations: 3.938 kB / 0.7793 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.652e-05/0.00481, allocations: 41.64 kB / 0.7794 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.00482, allocations: 4 kB / 0.7794 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.004825, allocations: 3.984 kB / 0.7794 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.004835, allocations: 6.781 kB / 0.7794 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.004899, allocations: 4 kB / 0.7794 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.004905, allocations: 11.94 kB / 0.7794 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.004927, allocations: 7.984 kB / 0.7794 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.004932, allocations: 0 / 0.7794 GB, free: 1.703 MB / 0.7292 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 5.125e-05/0.004983, allocations: 112.6 kB / 0.7795 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.005005, allocations: 8.969 kB / 0.7795 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.005025, allocations: 7.469 kB / 0.7795 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.005027, allocations: 4 kB / 0.7796 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.00503, allocations: 5.453 kB / 0.7796 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.005032, allocations: 0 / 0.7796 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.005136, allocations: 69.89 kB / 0.7796 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.005137, allocations: 0 / 0.7796 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.005164, allocations: 13.2 kB / 0.7796 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005165, allocations: 0 / 0.7796 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.005171, allocations: 3.938 kB / 0.7796 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.005173, allocations: 4.656 kB / 0.7796 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005173, allocations: 0 / 0.7796 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.066e-05/0.005264, allocations: 207.8 kB / 0.7798 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.005272, allocations: 7.953 kB / 0.7799 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.005281, allocations: 8.422 kB / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.005331, allocations: 4.531 kB / 0.7799 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.005362, allocations: 12.92 kB / 0.7799 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.005364, allocations: 3.938 kB / 0.7799 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.499e-05/0.005379, allocations: 16.84 kB / 0.7799 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005379, allocations: 0.5 kB / 0.7799 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001336/0.005513, allocations: 8.875 kB / 0.7799 GB, free: 1.176 MB / 0.7292 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 7.01e-05/0.005583, allocations: 82.03 kB / 0.78 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.019e-05/0.005643, allocations: 20.8 kB / 0.78 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.005646, allocations: 0 / 0.78 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.005664, allocations: 10.23 kB / 0.78 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.005842, allocations: 4.875 kB / 0.78 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.006091, allocations: 179.8 kB / 0.7802 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.006125, allocations: 63.28 kB / 0.7802 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.006148, allocations: 5.469 kB / 0.7803 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.006196, allocations: 55.36 kB / 0.7803 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.006196, allocations: 0.5 kB / 0.7803 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of Templates: time 0.002101/0.008297, allocations: 0.781 MB / 0.7811 GB, free: 15.96 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.009327176027]