Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009021/0.0009022, allocations: 98.03 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.007946/0.007946, allocations: 169.2 kB / 16.26 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.034/3.034, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005546/0.0005546, allocations: 8.562 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3849, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0009501/0.3859, allocations: 381.4 kB / 1.075 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.3869, allocations: 0.7884 MB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.387, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.908e-05/0.3871, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.3871, allocations: 3.938 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.3872, allocations: 19.98 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.848e-05/0.3873, allocations: 23.88 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3874, allocations: 7.984 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.303e-05/0.3875, allocations: 19.92 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.3876, allocations: 7.984 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3876, allocations: 3.938 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.3876, allocations: 0 / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.3877, allocations: 8 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.3877, allocations: 37.62 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.725e-05/0.3878, allocations: 23.89 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3878, allocations: 0 / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3878, allocations: 0 / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3878, allocations: 0 / 1.075 GB, free: 6.176 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004705/0.3883, allocations: 351.7 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3884, allocations: 8.031 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.3884, allocations: 0.9375 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.3886, allocations: 168.4 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3886, allocations: 4.375 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.3886, allocations: 4.375 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.3888, allocations: 70.16 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3888, allocations: 192 / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3889, allocations: 3.938 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3889, allocations: 0 / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.3891, allocations: 55.95 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.3895, allocations: 272.8 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3896, allocations: 46.5 kB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.3897, allocations: 20.91 kB / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.3898, allocations: 0 / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3898, allocations: 42.5 kB / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.3898, allocations: 0 / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003605/0.3902, allocations: 89.64 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3902, allocations: 51.41 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.3903, allocations: 117.9 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3903, allocations: 25.7 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.3904, allocations: 95.97 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3904, allocations: 4 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.3905, allocations: 9.719 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3906, allocations: 318.8 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3907, allocations: 15.98 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.3908, allocations: 27.98 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.391, allocations: 52.88 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.391, allocations: 0 / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001966/0.3912, allocations: 65.67 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3912, allocations: 14.12 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3912, allocations: 0 / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3913, allocations: 3.938 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.3914, allocations: 16.02 kB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3914, allocations: 0 / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3914, allocations: 7.984 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.3914, allocations: 0 / 1.077 GB, free: 4.027 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.768e-05/0.3915, allocations: 113.8 kB / 1.077 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.3916, allocations: 3.906 kB / 1.077 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.3916, allocations: 7.125 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3916, allocations: 4 kB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3916, allocations: 0 / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3916, allocations: 0 / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3918, allocations: 165.6 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3918, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.3918, allocations: 11.98 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3919, allocations: 0 / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3919, allocations: 0 / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3919, allocations: 4 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3919, allocations: 4 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3921, allocations: 171.3 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.3922, allocations: 85.14 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3922, allocations: 0 / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.3923, allocations: 7.984 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3923, allocations: 4 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3924, allocations: 0 / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.3924, allocations: 83.28 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3924, allocations: 0 / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002145/0.3926, allocations: 4 kB / 1.078 GB, free: 3.277 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001184/0.3927, allocations: 103.2 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.393, allocations: 39.97 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.393, allocations: 0 / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.3931, allocations: 24.05 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3934, allocations: 15.92 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.3937, allocations: 116.6 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3939, allocations: 0.6775 MB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.749e-05/0.394, allocations: 12.05 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.394, allocations: 7.438 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.394, allocations: 0 / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.002459/0.3965, allocations: 357 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1)