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.00149/0.00149, allocations: 121.6 kB / 17.09 MB, free: 6.012 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.001734/0.001734, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7223/0.7223, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.67 kB / 0.5583 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1407, allocations: 76.18 MB / 0.6327 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002423/0.1432, allocations: 1.407 MB / 0.6341 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.1439, allocations: 439 kB / 0.6345 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.144, allocations: 4 kB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.144, allocations: 3.938 kB / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.1441, allocations: 7.922 kB / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.1442, allocations: 19.92 kB / 0.6345 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1443, allocations: 55.78 kB / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.1444, allocations: 4 kB / 0.6346 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.1445, allocations: 27.84 kB / 0.6346 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.1446, allocations: 23.92 kB / 0.6346 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1446, allocations: 4 kB / 0.6346 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.1446, allocations: 0 / 0.6346 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.1446, allocations: 11.98 kB / 0.6346 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.1447, allocations: 19.88 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.1448, allocations: 47.81 kB / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1448, allocations: 0 / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1448, allocations: 4 kB / 0.6347 GB, free: 2.375 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1448, allocations: 0 / 0.6347 GB, free: 2.375 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.000563/0.1454, allocations: 389.1 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1454, allocations: 12.03 kB / 0.6351 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.1455, allocations: 0.9375 kB / 0.6351 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1456, allocations: 184.1 kB / 0.6353 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1456, allocations: 4.375 kB / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1456, allocations: 384 / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1457, allocations: 54 kB / 0.6353 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1458, allocations: 3.984 kB / 0.6353 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1458, allocations: 0 / 0.6353 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1458, allocations: 8 kB / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.1458, allocations: 15.98 kB / 0.6353 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1462, allocations: 268.8 kB / 0.6356 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.1463, allocations: 46.5 kB / 0.6356 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.1464, allocations: 20.97 kB / 0.6357 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.1464, allocations: 0 / 0.6357 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1465, allocations: 105.2 kB / 0.6358 GB, free: 1.109 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1466, allocations: 7.938 kB / 0.6358 GB, free: 1.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.000262/0.1468, allocations: 139.2 kB / 0.6359 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1469, allocations: 77.11 kB / 0.636 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.147, allocations: 114.2 kB / 0.6361 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.147, allocations: 25.7 kB / 0.6361 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.147, allocations: 92.12 kB / 0.6362 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1471, allocations: 19.75 kB / 0.6362 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1471, allocations: 25.72 kB / 0.6362 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1472, allocations: 326.7 kB / 0.6366 GB, free: 240 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.428e-05/0.1473, allocations: 19.98 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.1473, allocations: 34.58 kB / 0.6366 GB, free: 176 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1475, allocations: 122 kB / 0.6367 GB, free: 32 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1475, allocations: 3.938 kB / 0.6367 GB, free: 28 kB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001632/0.1476, allocations: 123.2 kB / 0.6368 GB, free: 15.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.1477, allocations: 33.69 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1477, allocations: 0 / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1477, allocations: 4 kB / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.1478, allocations: 4 kB / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1478, allocations: 0 / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.1478, allocations: 8 kB / 0.6369 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1479, allocations: 15.98 kB / 0.6369 GB, free: 15.82 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.611e-05/0.148, allocations: 151 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.148, allocations: 7.906 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.148, allocations: 8.375 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.148, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.148, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.148, allocations: 3.984 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.1484, allocations: 400.5 kB / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1484, allocations: 4 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.1484, allocations: 7.938 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1485, allocations: 0 / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1485, allocations: 3.938 kB / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1485, allocations: 0 / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1485, allocations: 4 kB / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.1487, allocations: 229.1 kB / 0.6377 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.1487, allocations: 88.95 kB / 0.6378 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1488, allocations: 7.984 kB / 0.6378 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1489, allocations: 8 kB / 0.6378 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1489, allocations: 11.92 kB / 0.6378 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.149, allocations: 4 kB / 0.6378 GB, free: 14.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.289e-05/0.149, allocations: 91.27 kB / 0.6379 GB, free: 14.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.149, allocations: 0 / 0.6379 GB, free: 14.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1492, allocations: 12 kB / 0.6379 GB, free: 14.68 MB / 494.1 MB 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 0.0001141/0.1494, allocations: 99.25 kB / 0.638 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1496, allocations: 127.4 kB / 0.6381 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1496, allocations: 0 / 0.6381 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/0.1497, allocations: 87.39 kB / 0.6382 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.15, allocations: 9.562 kB / 0.6382 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1503, allocations: 187.2 kB / 0.6384 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1506, allocations: 0.6925 MB / 0.6391 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1506, allocations: 11.44 kB / 0.6391 GB, free: 13.39 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1506, allocations: 0 / 0.6391 GB, free: 13.39 MB / 494.1 MB Notification: Performance of Templates: time 0.002341/0.153, allocations: 0.9003 MB / 0.64 GB, free: 12.5 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)