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.001684/0.001684, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002539/0.002539, allocations: 198.6 kB / 16.26 MB, free: 6.621 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7448 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.56 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3961, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002651/0.3988, allocations: 0.7308 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.4, allocations: 0.8391 MB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.4001, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.4003, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.003e-05/0.4003, allocations: 3.938 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.4006, allocations: 12 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.4007, allocations: 23.98 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.4008, allocations: 31.84 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.4009, allocations: 11.98 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.401, allocations: 15.92 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.4011, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.4011, allocations: 4 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.4012, allocations: 4 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.4012, allocations: 23.84 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.4014, allocations: 35.89 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4014, allocations: 0 / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4014, allocations: 4 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.4014, allocations: 0 / 1.069 GB, free: 9.023 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.0006134/0.402, allocations: 355.7 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4021, allocations: 8.031 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.4021, allocations: 0.9375 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.4023, allocations: 176.3 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.4024, allocations: 4.375 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.4024, allocations: 8.312 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.4026, allocations: 74.16 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4027, allocations: 192 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4027, allocations: 3.938 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4027, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.4029, allocations: 39.95 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.4034, allocations: 284.8 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.4036, allocations: 46.48 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.4037, allocations: 20.91 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.4037, allocations: 4 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4038, allocations: 30.56 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.4038, allocations: 4 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004335/0.4042, allocations: 89.53 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.4043, allocations: 59.28 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4044, allocations: 105.9 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4044, allocations: 25.7 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.4045, allocations: 92.03 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.4045, allocations: 4.125 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.4046, allocations: 17.72 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4047, allocations: 318.8 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.4048, allocations: 19.98 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.4049, allocations: 11.98 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.4051, allocations: 48.88 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4051, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002223/0.4053, allocations: 73.59 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4054, allocations: 4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4054, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4054, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4055, allocations: 11.98 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.4055, allocations: 4.031 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.4056, allocations: 11.89 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4056, allocations: 4 kB / 1.071 GB, free: 6.875 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.0001736/0.4058, allocations: 113.8 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.4058, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.4059, allocations: 7.125 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4059, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4059, allocations: 4.25 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.4059, allocations: 3.984 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.4061, allocations: 169.6 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4061, allocations: 3.984 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.4062, allocations: 7.938 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4062, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4062, allocations: 11.92 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4062, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4062, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.4065, allocations: 171.4 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.4066, allocations: 81.11 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4066, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.4067, allocations: 7.984 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.4067, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4068, allocations: 4 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.4068, allocations: 87.27 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4068, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002281/0.407, allocations: 11.94 kB / 1.072 GB, free: 6.105 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.0001583/0.4072, allocations: 95.25 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4075, allocations: 43.89 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4075, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4076, allocations: 31.91 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4078, allocations: 4.125 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.4082, allocations: 129.5 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.4085, allocations: 0.6768 MB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.4085, allocations: 8 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.4086, allocations: 15.42 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.4086, allocations: 0 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.003068/0.4117, allocations: 0.5463 MB / 1.073 GB, free: 4.5 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)