Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001551/0.001551, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 70.41 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3842, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002248/0.3864, allocations: 0.6583 MB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3876, allocations: 0.8411 MB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.3877, allocations: 0 / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.857e-05/0.3878, allocations: 0 / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.449e-05/0.3878, allocations: 7.922 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.388, allocations: 19.92 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.3881, allocations: 27.98 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3882, allocations: 12 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.3882, allocations: 23.84 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.3883, allocations: 15.92 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3883, allocations: 4 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.3883, allocations: 4 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.3884, allocations: 4 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.3885, allocations: 19.86 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.3885, allocations: 39.88 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3886, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3886, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3886, allocations: 0 / 1.07 GB, free: 8.762 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.000435/0.389, allocations: 355.7 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3891, allocations: 8.031 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3891, allocations: 4.938 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.3893, allocations: 172.3 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3893, allocations: 4.375 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3893, allocations: 4.375 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3895, allocations: 74.16 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3895, allocations: 192 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3896, allocations: 3.938 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3896, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.3898, allocations: 39.95 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.3902, allocations: 288.7 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3903, allocations: 46.48 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.3904, allocations: 20.91 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3905, allocations: 4 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3905, allocations: 34.56 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3905, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003825/0.3909, allocations: 89.53 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3909, allocations: 55.34 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.391, allocations: 113.8 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.391, allocations: 25.7 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.3911, allocations: 92.17 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.3911, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.3912, allocations: 17.72 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.3913, allocations: 318.8 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.3914, allocations: 19.98 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.3914, allocations: 11.98 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3916, allocations: 48.88 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3916, allocations: 0 / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.3918, allocations: 69.66 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3918, allocations: 7.938 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3919, allocations: 0 / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3919, allocations: 0 / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.392, allocations: 12.02 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.392, allocations: 4 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.392, allocations: 11.89 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3921, allocations: 3.984 kB / 1.072 GB, free: 6.613 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.0001431/0.3922, allocations: 118.3 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.3922, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.3923, allocations: 7.125 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3923, allocations: 3.984 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3923, allocations: 4 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3923, allocations: 4 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.3925, allocations: 165.6 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3925, allocations: 256 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.3925, allocations: 8 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3925, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.3926, allocations: 11.92 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3926, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3926, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3928, allocations: 175.4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.3929, allocations: 77.11 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3929, allocations: 4 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.393, allocations: 11.92 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.3931, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.3931, allocations: 3.984 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.3931, allocations: 83.28 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3931, allocations: 8.031 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002151/0.3933, allocations: 7.906 kB / 1.072 GB, free: 5.836 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.0001292/0.3935, allocations: 95.25 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.3937, allocations: 43.89 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3937, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.3938, allocations: 35.97 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3941, allocations: 1.562 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.3944, allocations: 121.5 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.3947, allocations: 0.6807 MB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.694e-05/0.3947, allocations: 12.05 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3948, allocations: 7.438 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3948, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of Templates: time 0.002612/0.3974, allocations: 0.6106 MB / 1.074 GB, free: 4.172 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1)