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.0009331/0.0009331, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0009958/0.0009958, allocations: 170.5 kB / 25.18 MB, free: 8.328 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.8966/0.8966, allocations: 177.2 MB / 205.6 MB, free: 4.023 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 2.055/2.055, allocations: 389.6 MB / 0.6364 GB, free: 13.27 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.463e-06/1.463e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.407e-05, allocations: 10.11 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002619/0.002643, allocations: 1.894 MB / 0.7774 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.004407, allocations: 1.149 MB / 0.7785 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.004525, allocations: 4 kB / 0.7786 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.005096, allocations: 171.5 kB / 0.7787 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.005402, allocations: 155.3 kB / 0.7789 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.005799, allocations: 135.5 kB / 0.779 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.006043, allocations: 175.5 kB / 0.7792 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.006156, allocations: 21.75 kB / 0.7792 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.006299, allocations: 99.66 kB / 0.7793 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.006415, allocations: 63.86 kB / 0.7793 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.006433, allocations: 8 kB / 0.7793 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.006616, allocations: 75.81 kB / 0.7794 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.006688, allocations: 43.84 kB / 0.7795 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.006741, allocations: 35.91 kB / 0.7795 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.006995, allocations: 163.3 kB / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006999, allocations: 0 / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.963e-06/0.007001, allocations: 4 kB / 0.7797 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.007007, allocations: 4 kB / 0.7797 GB, free: 10.33 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.0005678/0.007575, allocations: 393.5 kB / 0.78 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.007614, allocations: 8.031 kB / 0.78 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.007663, allocations: 12.92 kB / 0.78 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.00789, allocations: 198 kB / 0.7802 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.00791, allocations: 4.375 kB / 0.7802 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.007923, allocations: 384 / 0.7802 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.008044, allocations: 64.98 kB / 0.7803 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.008054, allocations: 3.938 kB / 0.7803 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.008061, allocations: 0 / 0.7803 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.00808, allocations: 8 kB / 0.7803 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.008108, allocations: 11.94 kB / 0.7803 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.008393, allocations: 197.9 kB / 0.7805 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.188e-05/0.008485, allocations: 89.3 kB / 0.7806 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.008507, allocations: 16.8 kB / 0.7806 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.008519, allocations: 3.938 kB / 0.7806 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.099e-05/0.00861, allocations: 74.19 kB / 0.7807 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.008612, allocations: 3.984 kB / 0.7807 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001306/0.008743, allocations: 77.61 kB / 0.7808 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.00877, allocations: 51.41 kB / 0.7808 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.008909, allocations: 220.2 kB / 0.781 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.008924, allocations: 25.7 kB / 0.7811 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.008973, allocations: 104.5 kB / 0.7812 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.008998, allocations: 27.78 kB / 0.7812 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.009033, allocations: 25.69 kB / 0.7812 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.00912, allocations: 334.8 kB / 0.7815 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.009141, allocations: 10.83 kB / 0.7815 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.009181, allocations: 60.2 kB / 0.7816 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.009227, allocations: 51.69 kB / 0.7816 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.009229, allocations: 0 / 0.7816 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.367e-05/0.009312, allocations: 76.31 kB / 0.7817 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.00933, allocations: 11.98 kB / 0.7817 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.009337, allocations: 112 / 0.7817 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.009344, allocations: 3.938 kB / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.759e-05/0.009402, allocations: 12 kB / 0.7817 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.009405, allocations: 4 kB / 0.7817 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.009438, allocations: 7.938 kB / 0.7818 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.009443, allocations: 4.031 kB / 0.7818 GB, free: 7.98 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 8.204e-05/0.009525, allocations: 132.6 kB / 0.7819 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.009541, allocations: 11.92 kB / 0.7819 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.009645, allocations: 71.14 kB / 0.782 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.009657, allocations: 4 kB / 0.782 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.009658, allocations: 0 / 0.782 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.009662, allocations: 0 / 0.782 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.009765, allocations: 113.8 kB / 0.7821 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.009768, allocations: 0 / 0.7821 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.009788, allocations: 8 kB / 0.7821 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.009791, allocations: 0 / 0.7821 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.009798, allocations: 7.938 kB / 0.7821 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.0098, allocations: 3.938 kB / 0.7821 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009801, allocations: 0 / 0.7821 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.824e-05/0.009889, allocations: 106.7 kB / 0.7822 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.009907, allocations: 11.91 kB / 0.7822 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.009925, allocations: 7.938 kB / 0.7822 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.549e-05/0.00995, allocations: 7.984 kB / 0.7822 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.00998, allocations: 4 kB / 0.7822 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.009988, allocations: 3.984 kB / 0.7822 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.095e-05/0.01005, allocations: 77.03 kB / 0.7823 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01005, allocations: 0 / 0.7823 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001476/0.0102, allocations: 35.91 kB / 0.7823 GB, free: 7.332 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.001281/0.01148, allocations: 0.5194 MB / 0.7828 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.01162, allocations: 36.83 kB / 0.7829 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.01163, allocations: 4 kB / 0.7829 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.01167, allocations: 24.8 kB / 0.7829 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.01182, allocations: 40.77 kB / 0.7829 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.01222, allocations: 315.1 kB / 0.7832 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.854e-05/0.0123, allocations: 110.8 kB / 0.7834 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.01238, allocations: 75.36 kB / 0.7834 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.01238, allocations: 0 / 0.7834 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.003582/0.01596, allocations: 2.676 MB / 0.786 GB, free: 3.707 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 > Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.867543386295438]