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.0012/0.0012, allocations: 108 kB / 15.61 MB, free: 152 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.001243/0.001243, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 61.97 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3873, 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.002181/0.3896, allocations: 0.6658 MB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3906, allocations: 0.8334 MB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.3907, allocations: 4 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.54e-05/0.3908, allocations: 11.92 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.244e-05/0.3909, allocations: 3.938 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.391, allocations: 15.97 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.3911, allocations: 35.86 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3912, allocations: 8 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.3913, allocations: 15.98 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.3914, allocations: 19.91 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3914, allocations: 4 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.3914, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.3915, allocations: 15.98 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.3915, allocations: 15.88 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3917, allocations: 39.88 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3917, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3917, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3917, allocations: 0 / 1.07 GB, free: 8.754 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.0005092/0.3922, allocations: 343.7 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3922, allocations: 12.03 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.3923, allocations: 0.9375 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3925, allocations: 188.2 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3925, allocations: 4.375 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3925, allocations: 384 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3927, allocations: 66.22 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3928, allocations: 192 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3928, allocations: 7.938 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3928, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.393, allocations: 43.95 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.3934, allocations: 280.7 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3936, allocations: 42.55 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.3937, allocations: 28.89 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.3937, allocations: 0 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3937, allocations: 38.55 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.515e-06/0.3937, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003935/0.3941, allocations: 93.42 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.3942, allocations: 51.41 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.3943, allocations: 113.9 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3943, allocations: 25.7 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.3944, allocations: 92.05 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.3944, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.3944, allocations: 17.72 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3946, allocations: 318.8 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.3947, allocations: 15.98 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.3948, allocations: 23.97 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3949, allocations: 41.08 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.395, allocations: 3.938 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002277/0.3952, allocations: 73.66 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3952, allocations: 5.969 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3952, allocations: 4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3953, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3954, allocations: 11.98 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3954, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.3955, allocations: 11.89 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3955, allocations: 0 / 1.072 GB, free: 6.609 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.0001446/0.3956, allocations: 118.3 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3956, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.3957, allocations: 11.11 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3957, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3957, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3957, allocations: 4 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.3959, allocations: 169.6 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3959, allocations: 3.938 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.396, allocations: 7.984 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.396, allocations: 3.938 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.396, allocations: 4 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.396, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.396, allocations: 4 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3963, allocations: 163.5 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.3963, allocations: 77.11 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3964, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.3965, allocations: 3.984 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.3965, allocations: 16.02 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3965, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.3966, allocations: 79.28 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3966, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002242/0.3968, allocations: 15.91 kB / 1.072 GB, free: 5.844 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.0001466/0.397, allocations: 95.25 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3972, allocations: 51.83 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3972, allocations: 3.938 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3974, allocations: 27.97 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.3976, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.398, allocations: 125.5 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3983, allocations: 0.6847 MB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.3983, allocations: 7.984 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.3984, allocations: 7.438 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3984, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of Templates: time 0.002964/0.4014, allocations: 0.6107 MB / 1.074 GB, free: 4.172 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)