Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.014/2.014, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001404/0.001404, allocations: 182.2 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 101.8 kB / 0.748 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2622, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002769/0.265, allocations: 0.735 MB / 0.9829 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2662, allocations: 0.8243 MB / 0.9837 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.2663, allocations: 0 / 0.9837 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.2664, allocations: 0 / 0.9837 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.666e-05/0.2665, allocations: 11.92 kB / 0.9838 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.2667, allocations: 19.98 kB / 0.9838 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.251e-05/0.2668, allocations: 23.98 kB / 0.9838 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2669, allocations: 15.98 kB / 0.9838 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.267, allocations: 11.88 kB / 0.9838 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.267, allocations: 23.91 kB / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.2671, allocations: 0 / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.2671, allocations: 4 kB / 0.9839 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.2671, allocations: 7.984 kB / 0.9839 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.2672, allocations: 19.86 kB / 0.9839 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.221e-05/0.2673, allocations: 27.89 kB / 0.9839 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.448e-05/0.2673, allocations: 4 kB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2673, allocations: 0 / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2673, allocations: 0 / 0.9839 GB, free: 8.641 MB / 0.7136 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.0005462/0.2679, allocations: 351.7 kB / 0.9842 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2679, allocations: 12.03 kB / 0.9843 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.268, allocations: 8.828 kB / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.2682, allocations: 176.4 kB / 0.9844 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2682, allocations: 4.375 kB / 0.9844 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2682, allocations: 384 / 0.9844 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2685, allocations: 66.17 kB / 0.9845 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2685, allocations: 4.188 kB / 0.9845 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2685, allocations: 3.938 kB / 0.9845 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2685, allocations: 0 / 0.9845 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2687, allocations: 47.94 kB / 0.9846 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.2691, allocations: 276.8 kB / 0.9848 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2693, allocations: 50.48 kB / 0.9849 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.2694, allocations: 16.91 kB / 0.9849 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.2694, allocations: 4 kB / 0.9849 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2694, allocations: 34.56 kB / 0.9849 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2694, allocations: 0 / 0.9849 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003669/0.2698, allocations: 85.64 kB / 0.985 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2698, allocations: 59.33 kB / 0.9851 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.2699, allocations: 105.9 kB / 0.9852 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.27, allocations: 25.7 kB / 0.9852 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.27, allocations: 103.9 kB / 0.9853 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.27, allocations: 3.906 kB / 0.9853 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.2701, allocations: 17.84 kB / 0.9853 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2702, allocations: 322.7 kB / 0.9856 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.2703, allocations: 15.97 kB / 0.9856 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.2704, allocations: 19.98 kB / 0.9856 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.2705, allocations: 40.81 kB / 0.9857 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2706, allocations: 4.062 kB / 0.9857 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002115/0.2708, allocations: 77.59 kB / 0.9858 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2708, allocations: 4 kB / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2708, allocations: 0 / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2708, allocations: 0 / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2709, allocations: 11.98 kB / 0.9858 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.271, allocations: 0 / 0.9858 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.271, allocations: 12.02 kB / 0.9858 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.271, allocations: 0 / 0.9858 GB, free: 6.488 MB / 0.7136 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.0001724/0.2712, allocations: 117.8 kB / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.2712, allocations: 0 / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.2713, allocations: 3.125 kB / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2713, allocations: 0 / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2713, allocations: 0 / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2713, allocations: 4 kB / 0.9859 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.2715, allocations: 169.6 kB / 0.9861 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2715, allocations: 4 kB / 0.9861 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.2716, allocations: 7.984 kB / 0.9861 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2716, allocations: 0 / 0.9861 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2716, allocations: 4 kB / 0.9861 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2716, allocations: 0 / 0.9861 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2716, allocations: 0 / 0.9861 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.2722, allocations: 0.7394 MB / 0.9868 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.2723, allocations: 77.11 kB / 0.9869 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2723, allocations: 4 kB / 0.9869 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.2724, allocations: 12.17 kB / 0.9869 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.2724, allocations: 0 / 0.9869 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.2724, allocations: 4 kB / 0.9869 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.2725, allocations: 91.2 kB / 0.987 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2725, allocations: 4.031 kB / 0.987 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003168/0.2728, allocations: 8 kB / 0.987 GB, free: 5.117 MB / 0.7136 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.0001311/0.273, allocations: 95.25 kB / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.2732, allocations: 43.95 kB / 0.9871 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2732, allocations: 0 / 0.9871 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.2733, allocations: 24.03 kB / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2736, allocations: 10.25 kB / 0.9872 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.274, allocations: 233.9 kB / 0.9874 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2742, allocations: 0.6848 MB / 0.9881 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.2743, allocations: 4.062 kB / 0.9881 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.2743, allocations: 11.44 kB / 0.9881 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.2743, allocations: 3.938 kB / 0.9881 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of Templates: time 0.00264/0.277, allocations: 0.544 MB / 0.9886 GB, free: 3.402 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)