Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001641, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 192.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 69.56 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.436, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00281/0.4389, allocations: 0.7369 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.4402, allocations: 0.8313 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.4403, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.4405, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.4406, allocations: 7.938 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.4408, allocations: 15.98 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.4409, allocations: 31.92 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.441, allocations: 11.97 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.4411, allocations: 11.94 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.4412, allocations: 15.92 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.4412, allocations: 4 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.4412, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.4413, allocations: 15.98 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.4414, allocations: 15.88 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.4415, allocations: 39.86 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4415, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4415, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.4415, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 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.0006031/0.4421, allocations: 347.7 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.4422, allocations: 8.031 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.4422, allocations: 8.922 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.4424, allocations: 172.3 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.4425, allocations: 4.375 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.4425, allocations: 4.375 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.4428, allocations: 66.16 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4428, allocations: 192 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4429, allocations: 3.938 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4429, allocations: 4 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.4431, allocations: 43.95 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.4436, allocations: 288.7 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.4438, allocations: 38.56 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.585e-05/0.4439, allocations: 24.89 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.4439, allocations: 4 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4439, allocations: 34.56 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.4439, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004112/0.4443, allocations: 93.48 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4444, allocations: 55.34 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.4445, allocations: 109.9 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4445, allocations: 29.7 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.4446, allocations: 84.05 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.4446, allocations: 7.984 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.4447, allocations: 13.72 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4448, allocations: 318.8 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.4449, allocations: 19.97 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.051e-05/0.445, allocations: 23.98 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.4451, allocations: 40.81 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4452, allocations: 0 / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003161/0.4455, allocations: 73.59 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4455, allocations: 4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4455, allocations: 4.094 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4455, allocations: 4 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4456, allocations: 7.984 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4457, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.4457, allocations: 8.156 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4457, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.4459, allocations: 117.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.446, allocations: 4 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.446, allocations: 15.12 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.446, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.446, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.446, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.4463, allocations: 169.6 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4463, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.689e-05/0.4464, allocations: 11.98 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.4464, allocations: 3.938 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4464, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4464, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4464, allocations: 7.984 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.4467, allocations: 171.4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.4467, allocations: 81.09 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.4468, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.4468, allocations: 4 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.4469, allocations: 8.016 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4469, allocations: 4 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.447, allocations: 87.27 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.447, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002243/0.4472, allocations: 7.906 kB / 1.072 GB, free: 6.285 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/0.4474, allocations: 99.25 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.4476, allocations: 55.77 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4476, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4477, allocations: 19.98 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.448, allocations: 8.562 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.4484, allocations: 119.3 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.4487, allocations: 0.685 MB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.4487, allocations: 3.938 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.4488, allocations: 11.44 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.4488, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.003055/0.4518, allocations: 0.5281 MB / 1.073 GB, free: 4.699 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1)