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.001359/0.001359, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001381/0.001381, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9608/0.9608, allocations: 177.1 MB / 204.6 MB, free: 5.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.862/1.862, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.202e-06/1.202e-06, allocations: 0 / 0.7751 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.762e-05, allocations: 5.828 kB / 0.7751 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00177/0.001788, allocations: 1.49 MB / 0.7766 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005989/0.002386, allocations: 457 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.002421, allocations: 3.938 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.002445, allocations: 4.859 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.002524, allocations: 15.58 kB / 0.777 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.002656, allocations: 20.52 kB / 0.777 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.002759, allocations: 56.08 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/0.002822, allocations: 7.984 kB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.002894, allocations: 27.92 kB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.00295, allocations: 19.91 kB / 0.7771 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.002968, allocations: 5.125 kB / 0.7771 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.002978, allocations: 4 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.003001, allocations: 8 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.00303, allocations: 20.81 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.757e-05/0.003118, allocations: 31.97 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.003119, allocations: 0 / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00312, allocations: 0.6562 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.003123, allocations: 0.75 kB / 0.7772 GB, free: 3.328 MB / 0.7292 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.0003484/0.003471, allocations: 291.8 kB / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.003503, allocations: 9.344 kB / 0.7775 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.003529, allocations: 12.86 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.003615, allocations: 114.4 kB / 0.7776 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.003625, allocations: 4.375 kB / 0.7776 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.003634, allocations: 4.969 kB / 0.7776 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.003713, allocations: 73.66 kB / 0.7777 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.003719, allocations: 192 / 0.7777 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.003726, allocations: 384 / 0.7777 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.003731, allocations: 3.938 kB / 0.7777 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.17e-05/0.003762, allocations: 45.62 kB / 0.7777 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.003992, allocations: 157 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.857e-05/0.004051, allocations: 53.03 kB / 0.7779 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.004075, allocations: 42.55 kB / 0.778 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.004087, allocations: 2.781 kB / 0.778 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.004193, allocations: 138.8 kB / 0.7781 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 9.41e-07/0.004194, allocations: 0 / 0.7781 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001407/0.004334, allocations: 154.7 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.004374, allocations: 85.05 kB / 0.7784 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.004427, allocations: 110.7 kB / 0.7785 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.004438, allocations: 29.7 kB / 0.7785 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.004464, allocations: 86.88 kB / 0.7786 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.00448, allocations: 19.89 kB / 0.7786 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.004512, allocations: 25.7 kB / 0.7786 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.004587, allocations: 322.8 kB / 0.7789 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.004607, allocations: 33.7 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.004639, allocations: 60.27 kB / 0.779 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.641e-05/0.004696, allocations: 108.1 kB / 0.7791 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004698, allocations: 0 / 0.7791 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8e-05/0.004778, allocations: 125 kB / 0.7792 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.004801, allocations: 33.7 kB / 0.7793 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.004807, allocations: 3.938 kB / 0.7793 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.004818, allocations: 0.5625 kB / 0.7793 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.142e-05/0.004849, allocations: 13.2 kB / 0.7793 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.004852, allocations: 0 / 0.7793 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.004885, allocations: 11.89 kB / 0.7793 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.00489, allocations: 4.875 kB / 0.7793 GB, free: 0.9258 MB / 0.7292 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.105e-05/0.004961, allocations: 151.5 kB / 0.7794 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.004974, allocations: 12.61 kB / 0.7795 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.004992, allocations: 12.38 kB / 0.7795 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.004994, allocations: 0.6875 kB / 0.7795 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.004996, allocations: 5.75 kB / 0.7795 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.004999, allocations: 0 / 0.7795 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.005204, allocations: 282.2 kB / 0.7797 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.005207, allocations: 4 kB / 0.7797 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-06/0.005211, allocations: 4 kB / 0.7797 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005213, allocations: 4.531 kB / 0.7798 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.005219, allocations: 0 / 0.7798 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005219, allocations: 1 kB / 0.7798 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.00522, allocations: 0 / 0.7798 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.005324, allocations: 223.4 kB / 0.78 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.005333, allocations: 11.89 kB / 0.78 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.005348, allocations: 5.062 kB / 0.78 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.0054, allocations: 15.98 kB / 0.78 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.005434, allocations: 0.8125 kB / 0.78 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.005448, allocations: 11.97 kB / 0.78 GB, free: 132 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.338e-05/0.005461, allocations: 8.859 kB / 0.78 GB, free: 120 kB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.005461, allocations: 0.5312 kB / 0.78 GB, free: 120 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001289/0.00559, allocations: 20.94 kB / 0.78 GB, free: 100 kB / 0.7292 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.376e-05/0.005664, allocations: 77.02 kB / 0.7801 GB, free: 12 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.005812, allocations: 160.3 kB / 0.7803 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.005813, allocations: 0 / 0.7803 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.005871, allocations: 118.5 kB / 0.7804 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.006023, allocations: 14.47 kB / 0.7804 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.006273, allocations: 186 kB / 0.7806 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.00631, allocations: 59.34 kB / 0.7806 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.00633, allocations: 4.938 kB / 0.7806 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.006396, allocations: 63.38 kB / 0.7807 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.006396, allocations: 4.656 kB / 0.7807 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.002626/0.009022, allocations: 0.9857 MB / 0.7817 GB, free: 14.39 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.81847960408777]