Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.624/1.624, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009974/0.0009975, allocations: 171 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008016, allocations: 96.55 kB / 0.7808 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003931, allocations: 16.88 kB / 0.9088 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6208/0.6212, allocations: 120.3 MB / 1.026 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.7909, allocations: 140.9 MB / 1.164 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.7912, allocations: 67.97 kB / 1.164 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002185/0.7934, allocations: 0.8309 MB / 1.165 GB, free: 408 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7935, allocations: 0 / 1.165 GB, free: 408 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.7935, allocations: 0 / 1.165 GB, free: 408 kB / 0.7292 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.0003673/0.7938, allocations: 349.9 kB / 1.165 GB, free: 8 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.7939, allocations: 12.08 kB / 1.165 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.7939, allocations: 5.469 kB / 1.165 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.7941, allocations: 172.3 kB / 1.165 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.7941, allocations: 9.844 kB / 1.165 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.7942, allocations: 384 / 1.165 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.7944, allocations: 74.98 kB / 1.165 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.7944, allocations: 0.6875 kB / 1.165 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.7944, allocations: 5.219 kB / 1.165 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.7944, allocations: 0 / 1.165 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.7946, allocations: 61.98 kB / 1.165 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.7949, allocations: 270.1 kB / 1.166 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.7951, allocations: 52.52 kB / 1.166 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.7952, allocations: 26.22 kB / 1.166 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.7952, allocations: 3.5 kB / 1.166 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.7952, allocations: 46.48 kB / 1.166 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7953, allocations: 4 kB / 1.166 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003448/0.7956, allocations: 97.64 kB / 1.166 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.7956, allocations: 55.53 kB / 1.166 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.7957, allocations: 105.8 kB / 1.166 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.7957, allocations: 29.7 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.7958, allocations: 80.14 kB / 1.166 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.7958, allocations: 11.84 kB / 1.166 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.7958, allocations: 0 / 1.166 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7959, allocations: 322.8 kB / 1.167 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.796, allocations: 23.98 kB / 1.167 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/0.7961, allocations: 23.92 kB / 1.167 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.7963, allocations: 60.88 kB / 1.167 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7963, allocations: 0 / 1.167 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.7965, allocations: 73.66 kB / 1.167 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.7965, allocations: 8 kB / 1.167 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.7965, allocations: 32 / 1.167 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7965, allocations: 4 kB / 1.167 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.7966, allocations: 11.98 kB / 1.167 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.7966, allocations: 0 / 1.167 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.7967, allocations: 15.92 kB / 1.167 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.7967, allocations: 0 / 1.167 GB, free: 14.22 MB / 0.7448 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 8.309e-05/0.7968, allocations: 122.2 kB / 1.167 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.7968, allocations: 4 kB / 1.167 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.7969, allocations: 3.125 kB / 1.167 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7969, allocations: 0 / 1.167 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7969, allocations: 0 / 1.167 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.7969, allocations: 7.984 kB / 1.167 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.797, allocations: 169.5 kB / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7971, allocations: 0 / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.7971, allocations: 11.98 kB / 1.167 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7971, allocations: 256 / 1.167 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.7972, allocations: 4 kB / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7972, allocations: 7.984 kB / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7972, allocations: 0 / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.7974, allocations: 179.5 kB / 1.167 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.7975, allocations: 78.23 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.7975, allocations: 4 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.7976, allocations: 7.984 kB / 1.167 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.7976, allocations: 8 kB / 1.167 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.7976, allocations: 11.86 kB / 1.167 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.7977, allocations: 79.28 kB / 1.167 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7977, allocations: 0 / 1.167 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002126/0.7979, allocations: 11.97 kB / 1.167 GB, free: 13.43 MB / 0.7448 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.000115/0.798, allocations: 111.2 kB / 1.168 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.7982, allocations: 51.89 kB / 1.168 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.7982, allocations: 4.062 kB / 1.168 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.7983, allocations: 31.97 kB / 1.168 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.7985, allocations: 0 / 1.168 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.7989, allocations: 130 kB / 1.168 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.7991, allocations: 0.6849 MB / 1.168 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.919e-05/0.7992, allocations: 4 kB / 1.168 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.7992, allocations: 15.42 kB / 1.168 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.7992, allocations: 0 / 1.168 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.002131/0.8014, allocations: 0.5111 MB / 1.169 GB, free: 11.86 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1)