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.001337/0.001337, allocations: 98.66 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 179.3 kB / 16.92 MB, free: 6.922 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6649/0.6649, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 8 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1483, allocations: 77.53 MB / 0.5599 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001537/0.1499, allocations: 1.134 MB / 0.5611 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.1507, allocations: 423.1 kB / 0.5615 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.1508, allocations: 0 / 0.5615 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.1508, allocations: 3.984 kB / 0.5615 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.1509, allocations: 7.922 kB / 0.5615 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.1511, allocations: 19.98 kB / 0.5615 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.235e-05/0.1512, allocations: 47.8 kB / 0.5615 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.009e-05/0.1513, allocations: 11.94 kB / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.1513, allocations: 23.86 kB / 0.5616 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.1514, allocations: 15.92 kB / 0.5616 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1514, allocations: 4 kB / 0.5616 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.1515, allocations: 0 / 0.5616 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.1515, allocations: 11.97 kB / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.1516, allocations: 41.58 kB / 0.5616 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.1517, allocations: 39.88 kB / 0.5617 GB, free: 7.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1517, allocations: 0 / 0.5617 GB, free: 7.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1517, allocations: 4 kB / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1517, allocations: 0 / 0.5617 GB, free: 7.234 MB / 430.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.0005928/0.1523, allocations: 385.4 kB / 0.562 GB, free: 6.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1523, allocations: 8.031 kB / 0.5621 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1524, allocations: 8.844 kB / 0.5621 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1525, allocations: 176.2 kB / 0.5622 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1525, allocations: 4.375 kB / 0.5622 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1526, allocations: 8.375 kB / 0.5622 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1527, allocations: 57.97 kB / 0.5623 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1527, allocations: 0 / 0.5623 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1527, allocations: 0 / 0.5623 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1527, allocations: 4 kB / 0.5623 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.1528, allocations: 16 kB / 0.5623 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.1532, allocations: 276.7 kB / 0.5626 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.1533, allocations: 42.52 kB / 0.5626 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.1533, allocations: 24.97 kB / 0.5626 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1534, allocations: 0 / 0.5626 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.1536, allocations: 97.09 kB / 0.5627 GB, free: 5.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1536, allocations: 3.938 kB / 0.5627 GB, free: 5.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003046/0.1539, allocations: 151.3 kB / 0.5629 GB, free: 5.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.154, allocations: 85.09 kB / 0.563 GB, free: 5.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.154, allocations: 109.8 kB / 0.5631 GB, free: 5.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1541, allocations: 25.98 kB / 0.5631 GB, free: 5.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1541, allocations: 88.14 kB / 0.5632 GB, free: 5.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1542, allocations: 15.81 kB / 0.5632 GB, free: 5.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1542, allocations: 21.64 kB / 0.5632 GB, free: 5.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1543, allocations: 318.8 kB / 0.5635 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.1544, allocations: 19.92 kB / 0.5635 GB, free: 5.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.932e-05/0.1544, allocations: 38.58 kB / 0.5636 GB, free: 5.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1545, allocations: 110 kB / 0.5637 GB, free: 4.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1546, allocations: 0 / 0.5637 GB, free: 4.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00018/0.1547, allocations: 131.2 kB / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.1548, allocations: 37.69 kB / 0.5638 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1548, allocations: 4.062 kB / 0.5638 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1548, allocations: 4 kB / 0.5638 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.1549, allocations: 4.062 kB / 0.5639 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1549, allocations: 4 kB / 0.5639 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.155, allocations: 11.92 kB / 0.5639 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.155, allocations: 4 kB / 0.5639 GB, free: 4.695 MB / 430.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 0.0001265/0.1551, allocations: 151.5 kB / 0.564 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.1551, allocations: 11.91 kB / 0.564 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.1552, allocations: 4.375 kB / 0.564 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1552, allocations: 7.984 kB / 0.564 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1552, allocations: 0 / 0.564 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1552, allocations: 0 / 0.564 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.1556, allocations: 396.2 kB / 0.5644 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1556, allocations: 0 / 0.5644 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.1556, allocations: 3.938 kB / 0.5644 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1556, allocations: 0 / 0.5644 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1556, allocations: 8 kB / 0.5644 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1556, allocations: 4 kB / 0.5644 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1556, allocations: 3.938 kB / 0.5644 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1559, allocations: 233.1 kB / 0.5647 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.1559, allocations: 81.19 kB / 0.5647 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1559, allocations: 11.88 kB / 0.5647 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.156, allocations: 12 kB / 0.5648 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1561, allocations: 15.92 kB / 0.5648 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1561, allocations: 0 / 0.5648 GB, free: 3.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.1562, allocations: 91.27 kB / 0.5649 GB, free: 3.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1562, allocations: 0 / 0.5649 GB, free: 3.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1564, allocations: 12 kB / 0.5649 GB, free: 3.551 MB / 430.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 8.178e-05/0.1565, allocations: 105.4 kB / 0.565 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1567, allocations: 115.3 kB / 0.5651 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1567, allocations: 128 / 0.5651 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.1568, allocations: 91.39 kB / 0.5652 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1571, allocations: 17.41 kB / 0.5652 GB, free: 3.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.1574, allocations: 165.8 kB / 0.5653 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1577, allocations: 0.6887 MB / 0.566 GB, free: 2.289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.1577, allocations: 11.77 kB / 0.566 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.1578, allocations: 11.44 kB / 0.566 GB, free: 2.266 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1578, allocations: 0 / 0.566 GB, free: 2.266 MB / 430.1 MB Notification: Performance of Templates: time 0.002821/0.1606, allocations: 0.7559 MB / 0.5668 GB, free: 1.52 MB / 430.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)