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.0008583/0.0008583, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006338/0.006338, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 14.44 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3798, allocations: 162.1 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0009788/0.3808, allocations: 413.3 kB / 1.075 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3818, allocations: 0.8313 MB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.3819, allocations: 4 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.382, allocations: 3.984 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.624e-05/0.3821, allocations: 7.938 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.3823, allocations: 15.98 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.3824, allocations: 67.83 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3826, allocations: 27.98 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.3826, allocations: 31.84 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.3827, allocations: 31.89 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.3828, allocations: 7.938 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.3828, allocations: 0 / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.3828, allocations: 23.97 kB / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.3829, allocations: 57.5 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.383, allocations: 79.73 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3831, allocations: 4 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3831, allocations: 0 / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3831, allocations: 0 / 1.076 GB, free: 5.934 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.0006517/0.3837, allocations: 399.5 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3838, allocations: 8.031 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.3838, allocations: 8.844 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.384, allocations: 188.3 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.3841, allocations: 8.375 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3841, allocations: 384 / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.3845, allocations: 187.1 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3845, allocations: 192 / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3845, allocations: 3.938 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3845, allocations: 3.984 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.385, allocations: 179.8 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.3856, allocations: 452.6 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.386, allocations: 129.1 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.3862, allocations: 89.7 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3862, allocations: 4 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3863, allocations: 34.5 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3863, allocations: 3.938 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0008473/0.3871, allocations: 261.6 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3872, allocations: 77.11 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3873, allocations: 137.7 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3874, allocations: 25.7 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.3874, allocations: 96.03 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3875, allocations: 3.906 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.3875, allocations: 17.72 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3877, allocations: 322.8 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.3879, allocations: 75.89 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3881, allocations: 89.64 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.3885, allocations: 153.5 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3886, allocations: 0 / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004823/0.389, allocations: 181.5 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3891, allocations: 9.719 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3891, allocations: 0 / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3891, allocations: 3.984 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3893, allocations: 35.97 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3893, allocations: 3.938 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3894, allocations: 23.92 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3895, allocations: 3.984 kB / 1.079 GB, free: 2.52 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.000112/0.3896, allocations: 129.8 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.3896, allocations: 3.906 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.3897, allocations: 11.53 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3897, allocations: 0 / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3897, allocations: 3.938 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3897, allocations: 4 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.39, allocations: 197.8 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.39, allocations: 0 / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.3901, allocations: 35.95 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3901, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3902, allocations: 4 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3902, allocations: 384 / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/0.3902, allocations: 3.938 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.3907, allocations: 354.6 kB / 1.079 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.3908, allocations: 85.02 kB / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3908, allocations: 7.938 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.391, allocations: 19.97 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.3911, allocations: 27.91 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3911, allocations: 0 / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.898e-05/0.3912, allocations: 99.25 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3912, allocations: 0 / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002734/0.3915, allocations: 16 kB / 1.08 GB, free: 1.438 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.0001326/0.3916, allocations: 103.2 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3921, allocations: 159.8 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3921, allocations: 3.938 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.3924, allocations: 104 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3927, allocations: 13.55 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.3932, allocations: 213.1 kB / 1.08 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.3936, allocations: 0.7045 MB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.169e-05/0.3936, allocations: 20.23 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.3937, allocations: 15.44 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of SimCode: time 7.02e-07/0.3937, allocations: 0 / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of Templates: time 0.00373/0.3974, allocations: 1.064 MB / 1.082 GB, free: 14.99 MB / 0.8419 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)