Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008355/0.0008355, allocations: 80.81 kB / 21.55 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009887/0.0009887, allocations: 164.5 kB / 24.96 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8863/0.8863, allocations: 177.2 MB / 205.4 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.947/1.947, allocations: 389.6 MB / 0.6362 GB, free: 13.4 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.776 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.409e-05, allocations: 2.312 kB / 0.776 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003424/0.003448, allocations: 1.89 MB / 0.7778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.004889, allocations: 1.153 MB / 0.779 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.004968, allocations: 4 kB / 0.779 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.005502, allocations: 167.5 kB / 0.7791 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.005731, allocations: 159.3 kB / 0.7793 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.005962, allocations: 143.4 kB / 0.7794 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.006137, allocations: 175.5 kB / 0.7796 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.006222, allocations: 13.75 kB / 0.7796 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.006324, allocations: 103.7 kB / 0.7797 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.00641, allocations: 63.86 kB / 0.7798 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.006427, allocations: 8 kB / 0.7798 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.006547, allocations: 71.88 kB / 0.7798 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.006606, allocations: 47.84 kB / 0.7799 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.006644, allocations: 35.84 kB / 0.7799 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.006831, allocations: 159.4 kB / 0.7801 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006834, allocations: 0 / 0.7801 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.315e-06/0.006836, allocations: 0 / 0.7801 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.00684, allocations: 0 / 0.7801 GB, free: 9.77 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004851/0.007325, allocations: 397.4 kB / 0.7804 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.007361, allocations: 16.02 kB / 0.7805 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.007398, allocations: 12.94 kB / 0.7805 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.007603, allocations: 194.1 kB / 0.7807 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.007617, allocations: 384 / 0.7807 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.007627, allocations: 8.375 kB / 0.7807 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.007742, allocations: 56.98 kB / 0.7807 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.007751, allocations: 3.938 kB / 0.7807 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.007759, allocations: 8 kB / 0.7807 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.007777, allocations: 0 / 0.7807 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.007808, allocations: 23.91 kB / 0.7807 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.008067, allocations: 197.8 kB / 0.7809 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.511e-05/0.008152, allocations: 93.23 kB / 0.781 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.008171, allocations: 16.84 kB / 0.781 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.008185, allocations: 3.938 kB / 0.781 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.589e-05/0.008271, allocations: 70.2 kB / 0.7811 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.008272, allocations: 0 / 0.7811 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001173/0.00839, allocations: 73.61 kB / 0.7812 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.008415, allocations: 51.41 kB / 0.7812 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.008541, allocations: 220.2 kB / 0.7814 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.008554, allocations: 25.7 kB / 0.7815 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.008595, allocations: 116.5 kB / 0.7816 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.008613, allocations: 15.86 kB / 0.7816 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.008649, allocations: 29.69 kB / 0.7816 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.008729, allocations: 334.8 kB / 0.7819 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.008743, allocations: 6.828 kB / 0.7819 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.008781, allocations: 64.2 kB / 0.782 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.008825, allocations: 43.72 kB / 0.7821 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.008826, allocations: 0 / 0.7821 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.044e-05/0.008906, allocations: 84.3 kB / 0.7821 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.008916, allocations: 12.06 kB / 0.7821 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.008922, allocations: 0 / 0.7821 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.008933, allocations: 0 / 0.7821 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.008983, allocations: 11.94 kB / 0.7822 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.008987, allocations: 4 kB / 0.7822 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.009018, allocations: 11.92 kB / 0.7822 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.009024, allocations: 0 / 0.7822 GB, free: 7.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.804e-05/0.009092, allocations: 120.8 kB / 0.7823 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.009104, allocations: 15.86 kB / 0.7823 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.009194, allocations: 79.14 kB / 0.7824 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.009202, allocations: 4 kB / 0.7824 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.009203, allocations: 0 / 0.7824 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.009208, allocations: 3.984 kB / 0.7824 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.009317, allocations: 109.8 kB / 0.7825 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009318, allocations: 3.938 kB / 0.7825 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.009334, allocations: 4 kB / 0.7825 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.009335, allocations: 0 / 0.7825 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.009341, allocations: 7.938 kB / 0.7825 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.009342, allocations: 0 / 0.7825 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.009344, allocations: 3.984 kB / 0.7825 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.738e-05/0.009421, allocations: 94.77 kB / 0.7826 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.009441, allocations: 19.83 kB / 0.7826 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.00946, allocations: 11.94 kB / 0.7826 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.009481, allocations: 3.984 kB / 0.7826 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.009508, allocations: 4 kB / 0.7826 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.009515, allocations: 11.92 kB / 0.7826 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.009573, allocations: 77.03 kB / 0.7827 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009573, allocations: 3.938 kB / 0.7827 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001205/0.009694, allocations: 27.92 kB / 0.7827 GB, free: 6.762 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001136/0.01083, allocations: 0.5213 MB / 0.7833 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.01093, allocations: 44.81 kB / 0.7833 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.01094, allocations: 4 kB / 0.7833 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.01097, allocations: 24.8 kB / 0.7833 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.0111, allocations: 40.64 kB / 0.7834 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.01142, allocations: 277.4 kB / 0.7836 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.01146, allocations: 83.88 kB / 0.7837 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.0115, allocations: 13.8 kB / 0.7837 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.01157, allocations: 79.36 kB / 0.7838 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01157, allocations: 0 / 0.7838 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of Templates: time 0.004173/0.01574, allocations: 2.651 MB / 0.7864 GB, free: 3.223 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.776223976165056]