Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.941/1.941, allocations: 288.4 MB / 304.3 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001167, allocations: 180.5 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 0.6316 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006836/0.0006837, allocations: 96.19 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005532, allocations: 10.91 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2704, allocations: 115.3 MB / 0.9808 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0007784/0.2712, allocations: 374 kB / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.2721, allocations: 0.8205 MB / 0.9819 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.2722, allocations: 0 / 0.9819 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.059e-05/0.2723, allocations: 3.938 kB / 0.9819 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.399e-05/0.2723, allocations: 0 / 0.9819 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.2725, allocations: 19.92 kB / 0.9819 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.2725, allocations: 31.92 kB / 0.982 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2726, allocations: 8 kB / 0.982 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.2727, allocations: 15.91 kB / 0.982 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.2727, allocations: 19.92 kB / 0.982 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2728, allocations: 0 / 0.982 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2728, allocations: 0 / 0.982 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.2728, allocations: 8 kB / 0.982 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.2729, allocations: 41.56 kB / 0.9821 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.309e-05/0.2729, allocations: 27.92 kB / 0.9821 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.273, allocations: 8 kB / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.273, allocations: 0 / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.273, allocations: 0 / 0.9821 GB, free: 25.96 MB / 0.6198 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.0003939/0.2734, allocations: 343.7 kB / 0.9824 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2734, allocations: 8.031 kB / 0.9824 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.2735, allocations: 4.938 kB / 0.9824 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2736, allocations: 172.3 kB / 0.9826 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.2736, allocations: 8.375 kB / 0.9826 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2736, allocations: 4.375 kB / 0.9826 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.2738, allocations: 66.22 kB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2738, allocations: 4.188 kB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2738, allocations: 3.938 kB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2739, allocations: 3.984 kB / 0.9827 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.274, allocations: 59.89 kB / 0.9827 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.2744, allocations: 268.8 kB / 0.983 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.2745, allocations: 54.55 kB / 0.983 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.2746, allocations: 28.84 kB / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2746, allocations: 0 / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.2747, allocations: 38.56 kB / 0.9831 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2747, allocations: 0 / 0.9831 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003635/0.275, allocations: 109.5 kB / 0.9832 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.2751, allocations: 59.53 kB / 0.9833 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.2751, allocations: 97.86 kB / 0.9834 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2751, allocations: 33.62 kB / 0.9834 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2752, allocations: 91.98 kB / 0.9835 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.2752, allocations: 4 kB / 0.9835 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.2752, allocations: 0 / 0.9835 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.2753, allocations: 314.8 kB / 0.9838 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.2754, allocations: 35.91 kB / 0.9838 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.2754, allocations: 19.98 kB / 0.9838 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.2756, allocations: 56.88 kB / 0.9839 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2756, allocations: 0 / 0.9839 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.2758, allocations: 77.66 kB / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2759, allocations: 4.031 kB / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2759, allocations: 4 kB / 0.984 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2759, allocations: 4 kB / 0.984 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.276, allocations: 11.98 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.276, allocations: 0 / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.2761, allocations: 7.906 kB / 0.984 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2761, allocations: 7.938 kB / 0.984 GB, free: 23.77 MB / 0.6198 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 9.3e-05/0.2762, allocations: 121.8 kB / 0.9841 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.2762, allocations: 4 kB / 0.9841 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.2762, allocations: 3.125 kB / 0.9841 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2762, allocations: 0 / 0.9841 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2762, allocations: 0 / 0.9841 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.2763, allocations: 77.11 kB / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2763, allocations: 8 kB / 0.9842 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.2764, allocations: 11.92 kB / 0.9842 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.2764, allocations: 7.984 kB / 0.9842 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002574/0.2767, allocations: 173 kB / 0.9844 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002257/0.2769, allocations: 255 kB / 0.9846 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.235e-05/0.277, allocations: 31.95 kB / 0.9847 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.179e-05/0.2771, allocations: 87.27 kB / 0.9847 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Backend: time 2.1e-07/0.2771, allocations: 0 / 0.9847 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.2775, allocations: 103.2 kB / 0.9848 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003616/0.2778, allocations: 0.5799 MB / 0.9854 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.002392/0.2802, allocations: 0.5775 MB / 0.986 GB, free: 21.66 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)