Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 118.1 kB / 17.09 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.00159, allocations: 189.6 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6836/0.6836, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 61.45 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 76.18 MB / 0.6327 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002628/0.1461, allocations: 1.404 MB / 0.6341 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007919/0.147, allocations: 439 kB / 0.6345 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.147, allocations: 4 kB / 0.6345 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.1471, allocations: 7.938 kB / 0.6345 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.445e-05/0.1472, allocations: 11.92 kB / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1474, allocations: 15.92 kB / 0.6345 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1475, allocations: 51.8 kB / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.1476, allocations: 11.97 kB / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.1477, allocations: 19.94 kB / 0.6346 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.1478, allocations: 23.91 kB / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1478, allocations: 0 / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.1479, allocations: 11.94 kB / 0.6346 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.1479, allocations: 4 kB / 0.6346 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.1479, allocations: 23.86 kB / 0.6347 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1481, allocations: 47.81 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1481, allocations: 0 / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.1481, allocations: 4 kB / 0.6347 GB, free: 2.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1481, allocations: 0 / 0.6347 GB, free: 2.383 MB / 478.1 MB 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.0005989/0.1487, allocations: 389.1 kB / 0.6351 GB, free: 1.949 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1487, allocations: 8.031 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.1488, allocations: 8.875 kB / 0.6351 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1489, allocations: 176.2 kB / 0.6353 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1489, allocations: 384 / 0.6353 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.149, allocations: 8.375 kB / 0.6353 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1491, allocations: 57.94 kB / 0.6353 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1491, allocations: 0 / 0.6353 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1491, allocations: 0 / 0.6353 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1491, allocations: 3.984 kB / 0.6353 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.874e-05/0.1492, allocations: 23.98 kB / 0.6354 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.1496, allocations: 272.8 kB / 0.6356 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.1496, allocations: 38.56 kB / 0.6357 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.1497, allocations: 24.98 kB / 0.6357 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1497, allocations: 3.938 kB / 0.6357 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.1499, allocations: 101.1 kB / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1499, allocations: 0 / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002581/0.1502, allocations: 147.2 kB / 0.6359 GB, free: 0.957 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1502, allocations: 81.11 kB / 0.636 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.1503, allocations: 109.8 kB / 0.6361 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1503, allocations: 25.7 kB / 0.6361 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.1504, allocations: 84.14 kB / 0.6362 GB, free: 0.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1504, allocations: 27.8 kB / 0.6362 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1505, allocations: 21.72 kB / 0.6363 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.1506, allocations: 326.8 kB / 0.6366 GB, free: 248 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.1506, allocations: 12 kB / 0.6366 GB, free: 236 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.1507, allocations: 38.56 kB / 0.6366 GB, free: 188 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.1508, allocations: 122.2 kB / 0.6367 GB, free: 44 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1508, allocations: 0 / 0.6367 GB, free: 44 kB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001593/0.1509, allocations: 123.2 kB / 0.6368 GB, free: 15.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.151, allocations: 37.7 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.151, allocations: 0 / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.151, allocations: 4 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.458e-05/0.1511, allocations: 3.984 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1511, allocations: 7.938 kB / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.1511, allocations: 7.938 kB / 0.6369 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.1512, allocations: 4 kB / 0.6369 GB, free: 15.84 MB / 494.1 MB 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 9.722e-05/0.1513, allocations: 155 kB / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1513, allocations: 7.906 kB / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.1513, allocations: 12.38 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1513, allocations: 0 / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1513, allocations: 0 / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.1514, allocations: 81.02 kB / 0.6372 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1514, allocations: 7.984 kB / 0.6372 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.1515, allocations: 8 kB / 0.6372 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1515, allocations: 11.92 kB / 0.6372 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002597/0.1518, allocations: 278.3 kB / 0.6374 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002377/0.152, allocations: 304.4 kB / 0.6377 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.645e-05/0.1521, allocations: 31.98 kB / 0.6378 GB, free: 14.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.1522, allocations: 83.28 kB / 0.6378 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Backend: time 4.01e-07/0.1522, allocations: 0 / 0.6378 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1525, allocations: 180.1 kB / 0.638 GB, free: 14.61 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005719/0.1531, allocations: 0.6387 MB / 0.6386 GB, free: 13.91 MB / 494.1 MB Notification: Performance of Templates: time 0.003344/0.1565, allocations: 0.9413 MB / 0.6396 GB, free: 12.97 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)