Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.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.0009056/0.0009056, 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.0009792/0.0009792, allocations: 170.3 kB / 25.18 MB, free: 8.312 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.8842/0.8842, allocations: 177.1 MB / 205.6 MB, free: 4.379 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.852/1.852, allocations: 389.6 MB / 0.6364 GB, free: 13.21 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.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.7755 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.338e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001812/0.001825, allocations: 1.525 MB / 0.777 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006321/0.002457, allocations: 466.7 kB / 0.7774 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.002495, allocations: 4 kB / 0.7774 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.002527, allocations: 3.938 kB / 0.7774 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.002604, allocations: 19.86 kB / 0.7775 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.002737, allocations: 11.98 kB / 0.7775 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.002832, allocations: 59.72 kB / 0.7775 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.002916, allocations: 3.984 kB / 0.7775 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.002992, allocations: 27.92 kB / 0.7776 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.003051, allocations: 15.98 kB / 0.7776 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.003068, allocations: 0 / 0.7776 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.003078, allocations: 4 kB / 0.7776 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.003101, allocations: 23.91 kB / 0.7776 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.003132, allocations: 8 kB / 0.7776 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.891e-05/0.003221, allocations: 39.83 kB / 0.7776 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003223, allocations: 0 / 0.7776 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003223, allocations: 0 / 0.7776 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.003226, allocations: 0 / 0.7776 GB, free: 12.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003498/0.003576, allocations: 294.5 kB / 0.7779 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.003603, allocations: 8.031 kB / 0.7779 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.003628, allocations: 4.938 kB / 0.7779 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.87e-05/0.003696, allocations: 117.7 kB / 0.7781 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.003706, allocations: 8.375 kB / 0.7781 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.003716, allocations: 4.375 kB / 0.7781 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/0.003789, allocations: 67.94 kB / 0.7781 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-06/0.003794, allocations: 192 / 0.7781 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.003804, allocations: 8.375 kB / 0.7781 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.00381, allocations: 7.922 kB / 0.7781 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.003838, allocations: 33.7 kB / 0.7782 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.004046, allocations: 160.2 kB / 0.7783 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.004097, allocations: 56.28 kB / 0.7784 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.004121, allocations: 46.55 kB / 0.7784 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.004132, allocations: 0 / 0.7784 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.004241, allocations: 127 kB / 0.7785 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.004242, allocations: 3.938 kB / 0.7786 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001677/0.00441, allocations: 158.7 kB / 0.7787 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.004453, allocations: 81.11 kB / 0.7788 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.004514, allocations: 110.7 kB / 0.7789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.004527, allocations: 29.7 kB / 0.7789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.004558, allocations: 96.05 kB / 0.779 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.004577, allocations: 19.8 kB / 0.779 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.004613, allocations: 29.7 kB / 0.7791 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.004693, allocations: 322.8 kB / 0.7794 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.417e-05/0.004717, allocations: 37.64 kB / 0.7794 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.004758, allocations: 64.25 kB / 0.7795 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.639e-05/0.004834, allocations: 106.3 kB / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.004837, allocations: 4 kB / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001059/0.004943, allocations: 133 kB / 0.7797 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.004974, allocations: 40.81 kB / 0.7797 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.004981, allocations: 8 kB / 0.7797 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.00499, allocations: 0 / 0.7797 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.005025, allocations: 4 kB / 0.7797 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.005028, allocations: 4 kB / 0.7797 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.005065, allocations: 4 kB / 0.7797 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.00507, allocations: 0 / 0.7797 GB, free: 9.898 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * 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: 0 * Algorithm blocks: 1 * 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 7.637e-05/0.005147, allocations: 155.5 kB / 0.7799 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.005161, allocations: 8 kB / 0.7799 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.005187, allocations: 16.36 kB / 0.7799 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005189, allocations: 0 / 0.7799 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00519, allocations: 4 kB / 0.7799 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.005194, allocations: 4 kB / 0.7799 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.005421, allocations: 278.2 kB / 0.7802 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005422, allocations: 0 / 0.7802 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-06/0.005427, allocations: 0 / 0.7802 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.00543, allocations: 3.938 kB / 0.7802 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.005437, allocations: 4 kB / 0.7802 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.005439, allocations: 3.984 kB / 0.7802 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00544, allocations: 0 / 0.7802 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.005559, allocations: 222.9 kB / 0.7804 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.005568, allocations: 15.94 kB / 0.7804 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.005587, allocations: 7.938 kB / 0.7804 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.005651, allocations: 8 kB / 0.7804 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.005682, allocations: 7.984 kB / 0.7805 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.005692, allocations: 3.938 kB / 0.7805 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.135e-05/0.005713, allocations: 16.84 kB / 0.7805 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.005713, allocations: 0 / 0.7805 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001825/0.005896, allocations: 16 kB / 0.7805 GB, free: 9.051 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.027e-05/0.005966, allocations: 76.42 kB / 0.7806 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.006101, allocations: 167.6 kB / 0.7807 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.006106, allocations: 4 kB / 0.7807 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.454e-05/0.00617, allocations: 110 kB / 0.7808 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.006337, allocations: 15.08 kB / 0.7808 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.006595, allocations: 231.4 kB / 0.7811 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.876e-05/0.006654, allocations: 71.33 kB / 0.7811 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.006729, allocations: 67.36 kB / 0.7812 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.006729, allocations: 4.125 kB / 0.7812 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.001631/0.00836, allocations: 0.903 MB / 0.7821 GB, free: 7.305 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.166468357667327]