Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001367, 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.00198/0.00198, allocations: 193 kB / 16.13 MB, free: 6.656 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 66.48 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4761, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002289/0.4785, allocations: 0.7346 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.4795, allocations: 0.8391 MB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.4796, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.4797, allocations: 4 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.4798, allocations: 11.92 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.4799, allocations: 11.98 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.4801, allocations: 71.81 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.4802, allocations: 35.92 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.4803, allocations: 23.92 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.4804, allocations: 35.89 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.4804, allocations: 11.94 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.4804, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.4805, allocations: 19.97 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.4806, allocations: 35.78 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.4807, allocations: 83.75 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4807, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.4807, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.4807, allocations: 0 / 1.069 GB, free: 8.969 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006864/0.4814, allocations: 405.2 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4815, allocations: 12.03 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.4815, allocations: 8.844 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.4817, allocations: 192.2 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.4818, allocations: 4.375 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.4818, allocations: 8.375 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.4822, allocations: 161.8 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4822, allocations: 8.188 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.4822, allocations: 3.938 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4822, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.4827, allocations: 151.8 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.4833, allocations: 460.7 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.4836, allocations: 113.1 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.4838, allocations: 85.56 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4839, allocations: 4 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.4839, allocations: 30.56 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.4839, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000771/0.4847, allocations: 233.3 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.4848, allocations: 77.11 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.4849, allocations: 121.8 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4849, allocations: 29.7 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.485, allocations: 100.3 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.485, allocations: 11.81 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.4851, allocations: 25.7 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4852, allocations: 314.8 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.4854, allocations: 71.84 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.4856, allocations: 73.64 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.486, allocations: 133.5 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.486, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004529/0.4865, allocations: 165.5 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4865, allocations: 5.562 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4865, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4866, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.4868, allocations: 23.97 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.4868, allocations: 7.922 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.4869, allocations: 19.98 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4869, allocations: 4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001044/0.487, allocations: 125.8 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.4871, allocations: 7.906 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.4871, allocations: 11.53 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4871, allocations: 0 / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4871, allocations: 3.938 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4871, allocations: 4 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.4874, allocations: 197.6 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4874, allocations: 4 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.4876, allocations: 24.34 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4876, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4876, allocations: 3.984 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.4876, allocations: 3.938 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.4876, allocations: 11.88 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.4881, allocations: 334.6 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.4882, allocations: 77.11 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.4882, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.4884, allocations: 19.97 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.4885, allocations: 23.91 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4885, allocations: 4 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.426e-05/0.4886, allocations: 95.27 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4886, allocations: 0 / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002682/0.4888, allocations: 19.91 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001467/0.489, allocations: 107.2 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.4895, allocations: 135.8 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4895, allocations: 3.938 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.4897, allocations: 91.83 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.4901, allocations: 12.56 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.4906, allocations: 219.9 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4909, allocations: 0.7004 MB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.355e-05/0.491, allocations: 20.23 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.491, allocations: 19.42 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4911, allocations: 0 / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of Templates: time 0.003531/0.4946, allocations: 1.063 MB / 1.076 GB, free: 2.242 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)