Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.646/1.646, allocations: 297.8 MB / 313.8 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007516/0.0007516, allocations: 101.4 kB / 0.7808 GB, free: 43.52 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004097, allocations: 19.94 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5684, allocations: 120.3 MB / 1.026 GB, free: 56.35 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.7405, allocations: 141 MB / 1.164 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.7407, allocations: 69.52 kB / 1.164 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003631/0.7444, allocations: 1.241 MB / 1.165 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7444, allocations: 4 kB / 1.165 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.7444, allocations: 3.938 kB / 1.165 GB, free: 15.98 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005177/0.7449, allocations: 401.9 kB / 1.166 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.745, allocations: 8.031 kB / 1.166 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.745, allocations: 11.97 kB / 1.166 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.7452, allocations: 196.2 kB / 1.166 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.7453, allocations: 12.36 kB / 1.166 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.7453, allocations: 4.375 kB / 1.166 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.7456, allocations: 167.8 kB / 1.166 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.7457, allocations: 192 / 1.166 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.7457, allocations: 3.938 kB / 1.166 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7457, allocations: 0 / 1.166 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.7461, allocations: 179.8 kB / 1.166 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.7467, allocations: 448.7 kB / 1.167 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.747, allocations: 125.1 kB / 1.167 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.7472, allocations: 85.7 kB / 1.167 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.7472, allocations: 4 kB / 1.167 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.7472, allocations: 42.48 kB / 1.167 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 4.959e-06/0.7472, allocations: 0 / 1.167 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0006991/0.7479, allocations: 253.6 kB / 1.167 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.748, allocations: 85.09 kB / 1.167 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.7481, allocations: 129.7 kB / 1.167 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.7481, allocations: 25.7 kB / 1.167 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.7482, allocations: 96.03 kB / 1.167 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.7482, allocations: 7.906 kB / 1.167 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.7482, allocations: 0 / 1.167 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7483, allocations: 318.8 kB / 1.168 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.7486, allocations: 75.92 kB / 1.168 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.7488, allocations: 91.22 kB / 1.168 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.7491, allocations: 149.5 kB / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7491, allocations: 0 / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004316/0.7496, allocations: 181.5 kB / 1.168 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7496, allocations: 4 kB / 1.168 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7496, allocations: 7.984 kB / 1.168 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.7496, allocations: 3.938 kB / 1.168 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.7498, allocations: 35.97 kB / 1.168 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.7498, allocations: 3.938 kB / 1.168 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.75, allocations: 27.91 kB / 1.168 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.75, allocations: 4 kB / 1.168 GB, free: 12.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.7501, allocations: 130.4 kB / 1.168 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.7501, allocations: 0 / 1.168 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.7502, allocations: 15.52 kB / 1.168 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.7502, allocations: 4 kB / 1.168 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7502, allocations: 3.938 kB / 1.168 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7502, allocations: 4 kB / 1.168 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.7504, allocations: 193.5 kB / 1.169 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7505, allocations: 384 / 1.169 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.7506, allocations: 31.97 kB / 1.169 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.7506, allocations: 0 / 1.169 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.7506, allocations: 5.219 kB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7507, allocations: 3.938 kB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7507, allocations: 3.938 kB / 1.169 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.7512, allocations: 354.6 kB / 1.169 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.7512, allocations: 85 kB / 1.169 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.7512, allocations: 4 kB / 1.169 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.7514, allocations: 23.97 kB / 1.169 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.7515, allocations: 27.91 kB / 1.169 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.7515, allocations: 4 kB / 1.169 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.7516, allocations: 95.27 kB / 1.169 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7516, allocations: 0 / 1.169 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002577/0.7518, allocations: 15.94 kB / 1.169 GB, free: 11.53 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001437/0.752, allocations: 111.2 kB / 1.169 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.7525, allocations: 165 kB / 1.17 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7525, allocations: 0 / 1.17 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.7527, allocations: 92.08 kB / 1.17 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.753, allocations: 18.77 kB / 1.17 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.7535, allocations: 202 kB / 1.17 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.7538, allocations: 0.7043 MB / 1.171 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.175e-05/0.7539, allocations: 23.89 kB / 1.171 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.7539, allocations: 7.438 kB / 1.171 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.7539, allocations: 0 / 1.171 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.003021/0.7569, allocations: 1.033 MB / 1.172 GB, free: 9.156 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)