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.884/1.884, allocations: 288.3 MB / 303.2 MB, free: 8.215 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.001179/0.001179, allocations: 187.2 kB / 371.8 MB, free: 10.28 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.932/1.932, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 100.9 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004439, allocations: 11.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2557, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8758/1.132, allocations: 137.7 MB / 1.114 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.132, allocations: 68.62 kB / 1.114 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003227/1.135, allocations: 0.8122 MB / 1.115 GB, free: 31.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/1.135, allocations: 2.625 kB / 1.115 GB, free: 31.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.135, allocations: 3.906 kB / 1.115 GB, free: 31.99 MB / 0.698 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.0004691/1.136, allocations: 352 kB / 1.115 GB, free: 31.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.136, allocations: 10.83 kB / 1.115 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/1.136, allocations: 3.844 kB / 1.115 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/1.136, allocations: 175.6 kB / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/1.136, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/1.136, allocations: 3.812 kB / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/1.136, allocations: 74.73 kB / 1.115 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.136, allocations: 0 / 1.115 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/1.136, allocations: 3.688 kB / 1.115 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.136, allocations: 0 / 1.115 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/1.137, allocations: 58.12 kB / 1.115 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/1.137, allocations: 284.1 kB / 1.116 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/1.137, allocations: 51.62 kB / 1.116 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/1.137, allocations: 4 kB / 1.116 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/1.137, allocations: 33.7 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.137, allocations: 0 / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/1.138, allocations: 102.4 kB / 1.116 GB, free: 31.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.138, allocations: 51.41 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.138, allocations: 105.9 kB / 1.116 GB, free: 30.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/1.138, allocations: 29.58 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/1.138, allocations: 86.94 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/1.138, allocations: 3.906 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/1.138, allocations: 0 / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.138, allocations: 326.3 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/1.138, allocations: 17.97 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/1.138, allocations: 25.36 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/1.138, allocations: 26.02 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.138, allocations: 0 / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001938/1.139, allocations: 75.89 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.139, allocations: 12.53 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.139, allocations: 4.031 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.139, allocations: 0 / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/1.139, allocations: 10.73 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.139, allocations: 0 / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/1.139, allocations: 22.03 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/1.139, allocations: 0 / 1.117 GB, free: 30.36 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.139, allocations: 113.6 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/1.139, allocations: 4 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/1.139, allocations: 13.52 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.139, allocations: 0 / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.139, allocations: 0 / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.139, allocations: 0 / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/1.139, allocations: 170.7 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.139, allocations: 0 / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/1.139, allocations: 13.81 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/1.139, allocations: 7.828 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/1.139, allocations: 4 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.139, allocations: 3.938 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.139, allocations: 0 / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/1.14, allocations: 176.5 kB / 1.117 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/1.14, allocations: 80.06 kB / 1.117 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/1.14, allocations: 7.906 kB / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/1.14, allocations: 10.25 kB / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/1.14, allocations: 10.59 kB / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/1.14, allocations: 0 / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.934e-05/1.14, allocations: 79.12 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.14, allocations: 0 / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002181/1.14, allocations: 22.28 kB / 1.117 GB, free: 29.71 MB / 0.698 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 () * 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 (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.0001441/1.14, allocations: 102.5 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002417/1.141, allocations: 50.94 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.141, allocations: 4.062 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.36e-05/1.141, allocations: 26.73 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/1.141, allocations: 9.078 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/1.141, allocations: 129.6 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/1.142, allocations: 0.6868 MB / 1.118 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.517e-05/1.142, allocations: 3.812 kB / 1.118 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/1.142, allocations: 9.688 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/1.142, allocations: 0 / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of Templates: time 0.002765/1.144, allocations: 0.4925 MB / 1.119 GB, free: 28.74 MB / 0.698 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)