Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.134/2.134, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001455, allocations: 181.2 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.376/2.376, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009475/0.000947, allocations: 83.3 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006325, allocations: 17.69 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2208, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.4464, allocations: 131.4 MB / 1.028 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.4468, allocations: 75.94 kB / 1.028 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003442/0.4502, allocations: 0.838 MB / 1.029 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4502, allocations: 0 / 1.029 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.4503, allocations: 0 / 1.029 GB, free: 13.03 MB / 0.6823 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.0005264/0.4508, allocations: 355.4 kB / 1.029 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4509, allocations: 8.031 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.4509, allocations: 12.84 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.4511, allocations: 176.3 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.4511, allocations: 384 / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.4512, allocations: 4.375 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.4514, allocations: 66.22 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4515, allocations: 192 / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4515, allocations: 3.938 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4515, allocations: 4 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.4519, allocations: 59.95 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.4524, allocations: 280.7 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.4526, allocations: 54.53 kB / 1.03 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.4528, allocations: 32.89 kB / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4528, allocations: 0 / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4529, allocations: 34.56 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.4529, allocations: 3.938 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000608/0.4535, allocations: 101.7 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4536, allocations: 51.41 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.4537, allocations: 105.8 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.4537, allocations: 29.64 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.4538, allocations: 92.05 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.4538, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.4538, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.454, allocations: 322.8 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4541, allocations: 24.02 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4543, allocations: 23.98 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.4545, allocations: 24.03 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4545, allocations: 7.938 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003794/0.4549, allocations: 81.56 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4549, allocations: 4 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4549, allocations: 3.984 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.455, allocations: 8.031 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.4551, allocations: 11.98 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4551, allocations: 0 / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/0.4552, allocations: 4 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4553, allocations: 7.984 kB / 1.031 GB, free: 10.85 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.4554, allocations: 117.7 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.4554, allocations: 8 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.4555, allocations: 3.125 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4555, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4555, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4555, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.4557, allocations: 173.7 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4557, allocations: 3.938 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.4559, allocations: 15.98 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4559, allocations: 3.938 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.4559, allocations: 0 / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4559, allocations: 4 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.456, allocations: 0 / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.4564, allocations: 183.4 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.4565, allocations: 81.02 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.4565, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.4566, allocations: 11.98 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.4567, allocations: 4.25 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4567, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.4568, allocations: 91.27 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4568, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002815/0.4571, allocations: 11.94 kB / 1.031 GB, free: 10.06 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000145/0.4572, allocations: 100.5 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.4576, allocations: 59.83 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4576, allocations: 64 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.4578, allocations: 35.97 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4581, allocations: 0 / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.4585, allocations: 128.6 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4589, allocations: 0.681 MB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.231e-05/0.4589, allocations: 4 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.459, allocations: 11.44 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of SimCode: time 6.72e-07/0.459, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.003239/0.4622, allocations: 0.501 MB / 1.033 GB, free: 8.48 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)