Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.569/1.569, allocations: 288.4 MB / 303.7 MB, free: 8.828 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.0009357/0.0009357, allocations: 182.5 kB / 372.3 MB, free: 6.43 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.34/1.34, allocations: 205.4 MB / 0.631 GB, free: 13.52 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.0007133/0.0007133, allocations: 81.62 kB / 0.7444 GB, free: 64.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 16 kB / 0.8675 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2654, allocations: 115.3 MB / 0.9801 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002246/0.2677, allocations: 1.462 MB / 0.9815 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2692, allocations: 0.9573 MB / 0.9825 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.2692, allocations: 0 / 0.9825 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.2696, allocations: 55.81 kB / 0.9825 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.2698, allocations: 59.8 kB / 0.9826 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.2703, allocations: 167.7 kB / 0.9828 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.2704, allocations: 127.6 kB / 0.9829 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2706, allocations: 17.12 kB / 0.9829 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.2707, allocations: 55.75 kB / 0.9829 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.568e-05/0.2708, allocations: 55.75 kB / 0.983 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2708, allocations: 4 kB / 0.983 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.2709, allocations: 59.92 kB / 0.9831 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.271, allocations: 31.89 kB / 0.9831 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.2711, allocations: 77.31 kB / 0.9832 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.2713, allocations: 147.9 kB / 0.9833 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2713, allocations: 4 kB / 0.9833 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2713, allocations: 0 / 0.9833 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2713, allocations: 0 / 0.9833 GB, free: 9.801 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006376/0.272, allocations: 466.5 kB / 0.9838 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.272, allocations: 8.031 kB / 0.9838 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.2721, allocations: 20.75 kB / 0.9838 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.2724, allocations: 252.9 kB / 0.984 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2724, allocations: 4.375 kB / 0.984 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2725, allocations: 8.125 kB / 0.984 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.2727, allocations: 96.11 kB / 0.9841 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2727, allocations: 0 / 0.9841 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2727, allocations: 7.984 kB / 0.9841 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2727, allocations: 4 kB / 0.9841 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.2728, allocations: 35.97 kB / 0.9842 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.2734, allocations: 352.6 kB / 0.9845 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.2736, allocations: 86.67 kB / 0.9846 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.2737, allocations: 40.83 kB / 0.9846 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2737, allocations: 0 / 0.9846 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.2739, allocations: 83.28 kB / 0.9847 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.815e-06/0.2739, allocations: 96 / 0.9847 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003367/0.2743, allocations: 141.4 kB / 0.9848 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.2743, allocations: 106.8 kB / 0.9849 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.2746, allocations: 263 kB / 0.9852 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2746, allocations: 29.7 kB / 0.9852 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.2747, allocations: 116.1 kB / 0.9853 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.2747, allocations: 15.81 kB / 0.9853 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2748, allocations: 0 / 0.9853 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2749, allocations: 330.8 kB / 0.9857 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.275, allocations: 27.98 kB / 0.9857 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.535e-05/0.2751, allocations: 76.14 kB / 0.9858 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.2752, allocations: 70.02 kB / 0.9858 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2752, allocations: 0 / 0.9858 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.2754, allocations: 121.3 kB / 0.9859 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2755, allocations: 8 kB / 0.986 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2755, allocations: 0 / 0.986 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2755, allocations: 0 / 0.986 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.2756, allocations: 16 kB / 0.986 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2756, allocations: 4.031 kB / 0.986 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.2757, allocations: 15.86 kB / 0.986 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.2757, allocations: 4 kB / 0.986 GB, free: 6.781 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.000127/0.2758, allocations: 149.7 kB / 0.9861 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.2758, allocations: 19.75 kB / 0.9862 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.2759, allocations: 21.39 kB / 0.9862 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2759, allocations: 0 / 0.9862 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2759, allocations: 4 kB / 0.9862 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2759, allocations: 7.938 kB / 0.9862 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.2761, allocations: 221.6 kB / 0.9864 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2761, allocations: 0 / 0.9864 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.2762, allocations: 4 kB / 0.9864 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.2762, allocations: 3.984 kB / 0.9864 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2762, allocations: 7.984 kB / 0.9864 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2762, allocations: 0 / 0.9864 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2762, allocations: 0 / 0.9864 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.2764, allocations: 140.8 kB / 0.9865 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.2765, allocations: 96.92 kB / 0.9866 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2765, allocations: 0 / 0.9866 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.2766, allocations: 7.984 kB / 0.9866 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.2767, allocations: 15.92 kB / 0.9867 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2767, allocations: 7.938 kB / 0.9867 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001654/0.2769, allocations: 188.6 kB / 0.9868 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2769, allocations: 0 / 0.9868 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002415/0.2771, allocations: 39.98 kB / 0.9869 GB, free: 5.766 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008946/0.278, allocations: 436.3 kB / 0.9873 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.2782, allocations: 63.97 kB / 0.9874 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2782, allocations: 3.938 kB / 0.9874 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.2783, allocations: 35.98 kB / 0.9874 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2786, allocations: 31.91 kB / 0.9874 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.2791, allocations: 322 kB / 0.9877 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.2794, allocations: 0.7243 MB / 0.9884 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.063e-05/0.2795, allocations: 29.36 kB / 0.9885 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.2795, allocations: 15.44 kB / 0.9885 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2795, allocations: 4 kB / 0.9885 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.005236/0.2848, allocations: 2.383 MB / 0.9908 GB, free: 1.809 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)