Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.4 MB / 298 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 184.8 kB / 366.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007915/0.0007915, allocations: 95.64 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.102e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6604/0.6605, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.8481, allocations: 137.6 MB / 1.105 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.8485, allocations: 67.97 kB / 1.105 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002423/0.8509, allocations: 0.8164 MB / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8509, allocations: 0 / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.8509, allocations: 0 / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004207/0.8514, allocations: 348 kB / 1.106 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.8514, allocations: 9.188 kB / 1.106 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.8515, allocations: 7.906 kB / 1.107 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.8517, allocations: 174 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.8518, allocations: 0.9062 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.8518, allocations: 8 kB / 1.107 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.8519, allocations: 48.78 kB / 1.107 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.852, allocations: 0 / 1.107 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.852, allocations: 5.375 kB / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.852, allocations: 0 / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.8521, allocations: 19.98 kB / 1.107 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.8526, allocations: 286.6 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.8527, allocations: 29.3 kB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.8527, allocations: 16.92 kB / 1.107 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.8527, allocations: 0 / 1.107 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.8528, allocations: 34.5 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.407e-06/0.8528, allocations: 0.875 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002302/0.853, allocations: 49.67 kB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.8531, allocations: 52.28 kB / 1.107 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.8532, allocations: 105.5 kB / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.8532, allocations: 30.27 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.8533, allocations: 90.02 kB / 1.107 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.8533, allocations: 3.906 kB / 1.107 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.8533, allocations: 0 / 1.107 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8535, allocations: 314.8 kB / 1.108 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.8535, allocations: 9.188 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.8535, allocations: 10.52 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.8536, allocations: 8.812 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8536, allocations: 3.938 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.413e-05/0.8537, allocations: 42.95 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8537, allocations: 7.984 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8537, allocations: 0 / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8537, allocations: 1.562 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.8538, allocations: 17.42 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.8539, allocations: 0 / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.8539, allocations: 5.219 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.8539, allocations: 4.672 kB / 1.108 GB, free: 11.42 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.889e-05/0.854, allocations: 113 kB / 1.108 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.8541, allocations: 4.953 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.8541, allocations: 3.125 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.8541, allocations: 4 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8541, allocations: 0.7812 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8541, allocations: 0 / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.8543, allocations: 174.7 kB / 1.108 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8543, allocations: 0 / 1.108 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.8544, allocations: 12.8 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8544, allocations: 6.688 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.8545, allocations: 1.688 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8545, allocations: 0 / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8545, allocations: 4 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.8546, allocations: 151.5 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.8547, allocations: 77.11 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.8547, allocations: 0 / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.8548, allocations: 13.67 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.8548, allocations: 0 / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.8549, allocations: 7.984 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.8549, allocations: 83.28 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8549, allocations: 4.031 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002019/0.8551, allocations: 15.94 kB / 1.108 GB, free: 10.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete 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 (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.0001517/0.8553, allocations: 95.25 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.8554, allocations: 23.92 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8554, allocations: 0 / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.8554, allocations: 12 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.8556, allocations: 4.703 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.8559, allocations: 79.61 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.8562, allocations: 0.6848 MB / 1.109 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.8562, allocations: 4 kB / 1.109 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.8562, allocations: 11.44 kB / 1.109 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.8563, allocations: 0 / 1.109 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of Templates: time 0.002771/0.859, allocations: 0.5195 MB / 1.11 GB, free: 9.23 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)