Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001831/0.001831, 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.002624/0.002624, allocations: 194.7 kB / 16.14 MB, free: 6.703 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 472.6 MB / 0.7447 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.73 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3692, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002061/0.3713, allocations: 0.7347 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.3722, allocations: 0.8313 MB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.3722, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.718e-05/0.3724, allocations: 7.922 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.249e-05/0.3724, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.3725, allocations: 15.94 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.3726, allocations: 27.98 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.3727, allocations: 11.98 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.04e-05/0.3728, allocations: 11.92 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.3728, allocations: 23.86 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3729, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.3729, allocations: 0 / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.3729, allocations: 11.98 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.373, allocations: 19.86 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.564e-05/0.3731, allocations: 39.88 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3731, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.52e-07/0.3731, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3731, allocations: 0 / 1.069 GB, free: 9.082 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.0004707/0.3736, allocations: 351.7 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3736, allocations: 8.031 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3736, allocations: 4.938 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.3738, allocations: 176.3 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3738, allocations: 384 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3738, allocations: 4.375 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.374, allocations: 58.23 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.374, allocations: 192 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3741, allocations: 7.922 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3741, allocations: 11.94 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.3743, allocations: 47.94 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3747, allocations: 276.8 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3749, allocations: 46.48 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.375, allocations: 24.91 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.375, allocations: 0 / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.375, allocations: 30.56 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.375, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003869/0.3754, allocations: 93.55 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3755, allocations: 55.39 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.3756, allocations: 105.8 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3756, allocations: 29.7 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.3756, allocations: 99.98 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.3756, allocations: 3.984 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.3757, allocations: 13.72 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3758, allocations: 326.9 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.3759, allocations: 15.97 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.376, allocations: 19.98 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3762, allocations: 40.81 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3762, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002185/0.3764, allocations: 73.72 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3765, allocations: 4 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3765, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3765, allocations: 4 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3766, allocations: 11.92 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3766, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.157e-05/0.3767, allocations: 11.89 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3767, allocations: 0 / 1.071 GB, free: 6.938 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.0001591/0.3769, allocations: 121.8 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3769, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.3769, allocations: 7.125 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3769, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3769, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3769, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.3771, allocations: 169.6 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3771, allocations: 0 / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/0.3772, allocations: 11.98 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3772, allocations: 7.938 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3772, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3772, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3772, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3775, allocations: 175.4 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.3776, allocations: 77.11 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3776, allocations: 4.031 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.3777, allocations: 8.234 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3777, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3777, allocations: 8 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.3778, allocations: 83.27 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3778, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002247/0.378, allocations: 7.906 kB / 1.072 GB, free: 6.172 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.000119/0.3781, allocations: 103.2 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3784, allocations: 47.89 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3784, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3785, allocations: 23.92 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3788, allocations: 12.48 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.3791, allocations: 119.4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3794, allocations: 0.6809 MB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.3794, allocations: 3.938 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.3795, allocations: 15.42 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3795, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.002493/0.382, allocations: 0.5306 MB / 1.073 GB, free: 4.582 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1)