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.001088/0.001088, allocations: 97.95 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.00936/0.009361, allocations: 170.9 kB / 16.27 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 16.16 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3867, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001145/0.3879, allocations: 401.3 kB / 1.075 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3891, allocations: 0.8313 MB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.3891, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.3892, allocations: 3.984 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.064e-05/0.3893, allocations: 7.938 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.3895, allocations: 16 kB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.3896, allocations: 23.98 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3897, allocations: 15.97 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.3897, allocations: 11.88 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.3898, allocations: 15.92 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3899, allocations: 4 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.3899, allocations: 0 / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.3899, allocations: 7.984 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.39, allocations: 41.58 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.623e-05/0.3901, allocations: 43.8 kB / 1.076 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3901, allocations: 0 / 1.076 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3901, allocations: 4 kB / 1.076 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3901, allocations: 0 / 1.076 GB, free: 6.137 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.000526/0.3907, allocations: 347.7 kB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3907, allocations: 12.03 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.3908, allocations: 0.9375 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3909, allocations: 180.3 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.391, allocations: 4.359 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.391, allocations: 4.375 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.3912, allocations: 70.17 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3912, allocations: 192 / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3913, allocations: 3.938 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3913, allocations: 3.984 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.3915, allocations: 59.95 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.3919, allocations: 276.8 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3921, allocations: 54.48 kB / 1.076 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.3922, allocations: 28.91 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3922, allocations: 0 / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3923, allocations: 38.56 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3923, allocations: 0 / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004255/0.3927, allocations: 105.6 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3928, allocations: 59.33 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.3929, allocations: 101.8 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3929, allocations: 29.7 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.393, allocations: 88.12 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.393, allocations: 3.906 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.393, allocations: 13.72 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3932, allocations: 318.8 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.3933, allocations: 28 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.3934, allocations: 23.98 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3935, allocations: 52.88 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3936, allocations: 0 / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00023/0.3938, allocations: 85.59 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3938, allocations: 8.031 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3938, allocations: 0 / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3938, allocations: 0 / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.394, allocations: 16.23 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.394, allocations: 0 / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.394, allocations: 8 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3941, allocations: 0 / 1.077 GB, free: 3.926 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.0001418/0.3942, allocations: 121.8 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3942, allocations: 11.84 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.3943, allocations: 7.125 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3943, allocations: 0 / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3943, allocations: 0 / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3943, allocations: 0 / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3945, allocations: 165.6 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3945, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.3945, allocations: 15.98 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3946, allocations: 11.94 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3946, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3946, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3946, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3949, allocations: 183.4 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.3949, allocations: 81.09 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3949, allocations: 0 / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.395, allocations: 8 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.3951, allocations: 3.984 kB / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3951, allocations: 4 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.3951, allocations: 87.27 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3952, allocations: 4.031 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002122/0.3954, allocations: 4 kB / 1.078 GB, free: 3.137 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.0001422/0.3955, allocations: 95.25 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.3958, allocations: 59.89 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3958, allocations: 0 / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3959, allocations: 27.92 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3961, allocations: 10.11 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.3965, allocations: 132.7 kB / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3968, allocations: 0.6809 MB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.3969, allocations: 4 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3969, allocations: 7.438 kB / 1.079 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3969, allocations: 0 / 1.079 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of Templates: time 0.00283/0.3998, allocations: 0.5217 MB / 1.08 GB, free: 1.543 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)