Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001383, allocations: 188.9 kB / 360.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 93.09 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.774e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.8047, allocations: 115.2 MB / 0.9634 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2543/1.059, allocations: 136.8 MB / 1.097 GB, free: 3.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.059, allocations: 68.66 kB / 1.097 GB, free: 3.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003369/1.063, allocations: 0.8137 MB / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.063, allocations: 0 / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.063, allocations: 0 / 1.098 GB, free: 2.848 MB / 0.698 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.000514/1.063, allocations: 349 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.064, allocations: 8.031 kB / 1.098 GB, free: 2.457 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/1.064, allocations: 11.8 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/1.064, allocations: 179 kB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.064, allocations: 0 / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.064, allocations: 0 / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001121/1.064, allocations: 18.81 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/1.064, allocations: 49.69 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.064, allocations: 1.375 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.064, allocations: 0 / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/1.064, allocations: 0 / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/1.065, allocations: 266.2 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/1.065, allocations: 31.31 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/1.065, allocations: 8.922 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/1.065, allocations: 6 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.065, allocations: 31.94 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/1.065, allocations: 0 / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002007/1.065, allocations: 46.34 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/1.065, allocations: 52.25 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.065, allocations: 100.9 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/1.065, allocations: 26.58 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/1.065, allocations: 88.05 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/1.065, allocations: 8.484 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/1.065, allocations: 0.5938 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.066, allocations: 319.7 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/1.066, allocations: 4 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/1.066, allocations: 8.656 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/1.066, allocations: 4.719 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.066, allocations: 0 / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001383/1.066, allocations: 50.38 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.066, allocations: 5.625 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.066, allocations: 0.5312 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.066, allocations: 0 / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/1.066, allocations: 19.36 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.066, allocations: 0 / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/1.066, allocations: 7.984 kB / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/1.066, allocations: 5.312 kB / 1.1 GB, free: 1.008 MB / 0.698 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 () * 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.0001233/1.066, allocations: 112.7 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/1.067, allocations: 1.25 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/1.067, allocations: 3.75 kB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.067, allocations: 4 kB / 1.1 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.067, allocations: 1.25 kB / 1.1 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.067, allocations: 0 / 1.1 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/1.067, allocations: 146.1 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.067, allocations: 8.125 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/1.067, allocations: 15.98 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/1.067, allocations: 0.5625 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.067, allocations: 3.875 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.067, allocations: 0 / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.067, allocations: 0 / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/1.067, allocations: 145.1 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/1.067, allocations: 85.14 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/1.067, allocations: 0 / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/1.068, allocations: 7.984 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/1.068, allocations: 13.44 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.068, allocations: 0 / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of sorting global known variables: time 5.056e-05/1.068, allocations: 83.22 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of sort global known variables: time 5.81e-07/1.068, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003238/1.068, allocations: 15.94 kB / 1.1 GB, free: 312 kB / 0.698 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 () * 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.0001828/1.068, allocations: 103.2 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001188/1.068, allocations: 20 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.068, allocations: 0 / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/1.068, allocations: 8 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/1.069, allocations: 5.156 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/1.069, allocations: 79.64 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/1.069, allocations: 0.6924 MB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.697e-05/1.07, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/1.07, allocations: 15.38 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/1.07, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.003344/1.073, allocations: 482.1 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)