Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.628/1.628, allocations: 297.8 MB / 313.7 MB, free: 68 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.00102/0.001021, allocations: 184.5 kB / 384.6 MB, free: 10.79 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.336/1.336, allocations: 223.3 MB / 0.6626 GB, free: 4.25 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.0008091/0.0008092, allocations: 98.92 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 12 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6079, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.7766, allocations: 140.7 MB / 1.164 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.7768, allocations: 72.72 kB / 1.164 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001712/0.7786, allocations: 0.634 MB / 1.164 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7786, allocations: 0 / 1.164 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.7786, allocations: 0 / 1.164 GB, free: 1.977 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003233/0.7789, allocations: 336.7 kB / 1.165 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.779, allocations: 13.02 kB / 1.165 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.779, allocations: 5.531 kB / 1.165 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.7791, allocations: 177.8 kB / 1.165 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.7792, allocations: 3.047 kB / 1.165 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.7792, allocations: 4.375 kB / 1.165 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.7794, allocations: 61.64 kB / 1.165 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.7794, allocations: 4.188 kB / 1.165 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.7794, allocations: 5.062 kB / 1.165 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7794, allocations: 0 / 1.165 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.7796, allocations: 44.72 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.78, allocations: 291.4 kB / 1.165 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.7801, allocations: 41.3 kB / 1.165 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.033e-05/0.7802, allocations: 26.22 kB / 1.165 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.7802, allocations: 1.453 kB / 1.165 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.7802, allocations: 31.44 kB / 1.165 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.7802, allocations: 0.5312 kB / 1.165 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0003455/0.7806, allocations: 101.2 kB / 1.166 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.7806, allocations: 51.41 kB / 1.166 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.7807, allocations: 106.3 kB / 1.166 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.7807, allocations: 27.11 kB / 1.166 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.7807, allocations: 82.31 kB / 1.166 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.7808, allocations: 3.906 kB / 1.166 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.7808, allocations: 1.312 kB / 1.166 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.7808, allocations: 324 kB / 1.166 GB, free: 180 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.7809, allocations: 18.69 kB / 1.166 GB, free: 168 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.781, allocations: 18.14 kB / 1.166 GB, free: 156 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.7811, allocations: 50.59 kB / 1.166 GB, free: 116 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7811, allocations: 0 / 1.166 GB, free: 116 kB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001561/0.7813, allocations: 78.75 kB / 1.166 GB, free: 44 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.7813, allocations: 4.625 kB / 1.166 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7813, allocations: 0.5938 kB / 1.166 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7814, allocations: 0 / 1.166 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.7814, allocations: 12.53 kB / 1.166 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.7815, allocations: 0 / 1.166 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.7815, allocations: 12.77 kB / 1.166 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.7815, allocations: 0 / 1.166 GB, free: 24 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.7816, allocations: 116.1 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.7817, allocations: 5.656 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.7817, allocations: 5.922 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7817, allocations: 1.594 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.7817, allocations: 0.7031 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.7817, allocations: 0 / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.7819, allocations: 163.8 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7819, allocations: 0.9375 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.782, allocations: 13.73 kB / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.782, allocations: 2.297 kB / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.782, allocations: 0 / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.782, allocations: 0 / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.782, allocations: 1.375 kB / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.7822, allocations: 185.4 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.7823, allocations: 77.81 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.7823, allocations: 0 / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.7824, allocations: 10.77 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.7824, allocations: 1.5 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.7824, allocations: 0 / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.7825, allocations: 90.36 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7825, allocations: 0 / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001926/0.7827, allocations: 7.938 kB / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001155/0.7828, allocations: 98.81 kB / 1.167 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.783, allocations: 53.45 kB / 1.167 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.783, allocations: 0 / 1.167 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.7831, allocations: 17.2 kB / 1.167 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.7833, allocations: 11.55 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.7837, allocations: 116.2 kB / 1.167 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.7839, allocations: 0.6806 MB / 1.168 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.784, allocations: 5.594 kB / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.784, allocations: 7.438 kB / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.784, allocations: 0 / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.002143/0.7861, allocations: 353.8 kB / 1.168 GB, free: 14.11 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1)