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.0006751/0.0006751, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009707/0.001646, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006845/0.0006845, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009466/0.001631, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9573/0.9573, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08734/1.045, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.84/1.84, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4621/2.302, allocations: 127.1 MB / 0.7435 GB, free: 4.547 MB / 0.7136 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.462e-06/1.462e-06, allocations: 0 / 0.7448 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.284e-05, allocations: 2.969 kB / 0.7448 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002461/0.002474, allocations: 1.536 MB / 0.7463 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003529, allocations: 463.4 kB / 0.7467 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.003558, allocations: 4 kB / 0.7467 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.003575, allocations: 3.938 kB / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.003615, allocations: 7.703 kB / 0.7467 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.486e-05/0.00368, allocations: 24.39 kB / 0.7467 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.003774, allocations: 50.59 kB / 0.7468 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.642e-05/0.00383, allocations: 18.52 kB / 0.7468 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.423e-05/0.003904, allocations: 30.98 kB / 0.7468 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.00397, allocations: 22.05 kB / 0.7469 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.003986, allocations: 4.875 kB / 0.7469 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.003996, allocations: 6.438 kB / 0.7469 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.004014, allocations: 5.75 kB / 0.7469 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.00404, allocations: 9.75 kB / 0.7469 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.929e-05/0.004119, allocations: 32.34 kB / 0.7469 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.004129, allocations: 0 / 0.7469 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00413, allocations: 0 / 0.7469 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.004141, allocations: 2.062 kB / 0.7469 GB, free: 1.125 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004067/0.004548, allocations: 298.2 kB / 0.7472 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.004574, allocations: 8.031 kB / 0.7472 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.004606, allocations: 8.938 kB / 0.7472 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.333e-05/0.004679, allocations: 117 kB / 0.7473 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.004689, allocations: 4.375 kB / 0.7473 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.004701, allocations: 4.375 kB / 0.7473 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.004781, allocations: 75.88 kB / 0.7474 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004788, allocations: 192 / 0.7474 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.004794, allocations: 4.375 kB / 0.7474 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.004801, allocations: 3.938 kB / 0.7474 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.004829, allocations: 33.7 kB / 0.7474 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.005048, allocations: 160.8 kB / 0.7476 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/0.005102, allocations: 56.94 kB / 0.7477 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.005126, allocations: 46.67 kB / 0.7477 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.005139, allocations: 4.625 kB / 0.7477 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.005246, allocations: 130.8 kB / 0.7478 GB, free: 60 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.005248, allocations: 0.5312 kB / 0.7478 GB, free: 60 kB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001536/0.005401, allocations: 159.2 kB / 0.748 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.005455, allocations: 167.7 kB / 0.7481 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.005509, allocations: 118.8 kB / 0.7483 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005519, allocations: 29.7 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.005545, allocations: 88.12 kB / 0.7484 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.00556, allocations: 12.86 kB / 0.7484 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.005589, allocations: 29.7 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.005654, allocations: 314.8 kB / 0.7487 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.005676, allocations: 38.28 kB / 0.7487 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.00571, allocations: 72.72 kB / 0.7488 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.36e-05/0.005764, allocations: 98.62 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005766, allocations: 0.5625 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.097e-05/0.005857, allocations: 130.3 kB / 0.749 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.005888, allocations: 38.31 kB / 0.7491 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005893, allocations: 3.938 kB / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.005905, allocations: 4.531 kB / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.22e-05/0.005937, allocations: 8.938 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.00594, allocations: 0 / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.005975, allocations: 11.94 kB / 0.7491 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.005981, allocations: 9.531 kB / 0.7491 GB, free: 14.59 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 6.127e-05/0.006042, allocations: 143.5 kB / 0.7492 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.006055, allocations: 11.98 kB / 0.7493 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.006072, allocations: 13.12 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006074, allocations: 0 / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.006076, allocations: 1.594 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006078, allocations: 0 / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.006264, allocations: 282.1 kB / 0.7495 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.006265, allocations: 0 / 0.7495 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-06/0.006271, allocations: 7.984 kB / 0.7495 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.006279, allocations: 14.58 kB / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006281, allocations: 0 / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.006289, allocations: 12.06 kB / 0.7496 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.006291, allocations: 3.938 kB / 0.7496 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006292, allocations: 0 / 0.7496 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.429e-05/0.006386, allocations: 223.3 kB / 0.7498 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.006401, allocations: 7.938 kB / 0.7498 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.006446, allocations: 7.469 kB / 0.7498 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.006474, allocations: 7.984 kB / 0.7498 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.006485, allocations: 4 kB / 0.7498 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.237e-05/0.006497, allocations: 12.84 kB / 0.7498 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006497, allocations: 0 / 0.7498 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001211/0.006618, allocations: 20 kB / 0.7498 GB, free: 13.77 MB / 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 6.826e-05/0.006687, allocations: 82.39 kB / 0.7499 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.006825, allocations: 165 kB / 0.7501 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.006829, allocations: 4 kB / 0.7501 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/0.006886, allocations: 113.9 kB / 0.7502 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.007048, allocations: 105.7 kB / 0.7503 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.007394, allocations: 195.4 kB / 0.7505 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.007424, allocations: 55.36 kB / 0.7505 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.007447, allocations: 8.641 kB / 0.7505 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.007505, allocations: 63.38 kB / 0.7506 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of SimCode: time 3.5e-07/0.007505, allocations: 1.125 kB / 0.7506 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.002206/0.009711, allocations: 1.003 MB / 0.7516 GB, free: 11.92 MB / 0.7292 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.612624041736126]