Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001364/0.001364, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.0016/0.0016, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.863/0.863, allocations: 101.3 MB / 361.1 MB, free: 8.781 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 69.86 kB / 0.5356 GB, free: 12.73 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1661, allocations: 85.89 MB / 0.6194 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00282/0.1689, allocations: 1.441 MB / 0.6209 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.1698, allocations: 444.3 kB / 0.6213 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.1698, allocations: 0 / 0.6213 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.1698, allocations: 0 / 0.6213 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.1699, allocations: 15.86 kB / 0.6213 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.1701, allocations: 15.98 kB / 0.6213 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1702, allocations: 55.78 kB / 0.6214 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.1703, allocations: 4 kB / 0.6214 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.1704, allocations: 27.86 kB / 0.6214 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.1705, allocations: 11.92 kB / 0.6214 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.1705, allocations: 4 kB / 0.6214 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.1705, allocations: 4 kB / 0.6214 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.1705, allocations: 11.98 kB / 0.6214 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.1706, allocations: 15.88 kB / 0.6214 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1707, allocations: 51.75 kB / 0.6215 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1707, allocations: 4 kB / 0.6215 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1707, allocations: 4 kB / 0.6215 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.1707, allocations: 0 / 0.6215 GB, free: 4.707 MB / 0.5294 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.000594/0.1713, allocations: 319.8 kB / 0.6218 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1713, allocations: 15.97 kB / 0.6218 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1714, allocations: 4.891 kB / 0.6218 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1715, allocations: 106.5 kB / 0.6219 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1715, allocations: 4.375 kB / 0.6219 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1715, allocations: 4.375 kB / 0.6219 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1717, allocations: 91.67 kB / 0.622 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1717, allocations: 0 / 0.622 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1717, allocations: 0 / 0.622 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1717, allocations: 0 / 0.622 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.827e-05/0.1718, allocations: 53.62 kB / 0.6221 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.1722, allocations: 208.5 kB / 0.6223 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.1723, allocations: 68.2 kB / 0.6223 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.1724, allocations: 42.69 kB / 0.6224 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1724, allocations: 3.938 kB / 0.6224 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.1726, allocations: 142.7 kB / 0.6225 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1726, allocations: 0 / 0.6225 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003448/0.173, allocations: 198.7 kB / 0.6227 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.173, allocations: 85.17 kB / 0.6228 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1732, allocations: 121.9 kB / 0.6229 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1732, allocations: 25.7 kB / 0.6229 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.1732, allocations: 84.14 kB / 0.623 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1733, allocations: 15.84 kB / 0.623 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.1733, allocations: 29.7 kB / 0.623 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1735, allocations: 318.8 kB / 0.6234 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.1735, allocations: 41.69 kB / 0.6234 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.1736, allocations: 72.27 kB / 0.6235 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1737, allocations: 117.9 kB / 0.6236 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1737, allocations: 3.938 kB / 0.6236 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002051/0.174, allocations: 153 kB / 0.6237 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.174, allocations: 32.42 kB / 0.6238 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.174, allocations: 4 kB / 0.6238 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.174, allocations: 3.984 kB / 0.6238 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/0.1741, allocations: 8.062 kB / 0.6238 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1741, allocations: 8 kB / 0.6238 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.1741, allocations: 4 kB / 0.6238 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1741, allocations: 4 kB / 0.6238 GB, free: 2.062 MB / 0.5294 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 0.0001922/0.1743, allocations: 166.2 kB / 0.6239 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1743, allocations: 7.953 kB / 0.624 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.1744, allocations: 4.438 kB / 0.624 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1744, allocations: 4 kB / 0.624 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1744, allocations: 0 / 0.624 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1744, allocations: 0 / 0.624 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.1748, allocations: 369.5 kB / 0.6243 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1748, allocations: 4 kB / 0.6243 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.1748, allocations: 0 / 0.6243 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1748, allocations: 3.938 kB / 0.6243 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1748, allocations: 8 kB / 0.6243 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1748, allocations: 0 / 0.6243 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1748, allocations: 0 / 0.6243 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.1751, allocations: 270.7 kB / 0.6246 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.1751, allocations: 7.953 kB / 0.6246 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1752, allocations: 4 kB / 0.6246 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1753, allocations: 7.984 kB / 0.6246 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1753, allocations: 19.97 kB / 0.6246 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1753, allocations: 4 kB / 0.6246 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.1754, allocations: 83.28 kB / 0.6247 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1754, allocations: 0 / 0.6247 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002868/0.1757, allocations: 19.94 kB / 0.6247 GB, free: 1.008 MB / 0.5294 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 0.0001035/0.1758, allocations: 99.17 kB / 0.6248 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.176, allocations: 170.7 kB / 0.625 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.176, allocations: 4 kB / 0.625 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1761, allocations: 113.2 kB / 0.6251 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1764, allocations: 11.94 kB / 0.6251 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1768, allocations: 189.7 kB / 0.6253 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.654e-05/0.1769, allocations: 67.34 kB / 0.6254 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.1769, allocations: 4 kB / 0.6254 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.1769, allocations: 12.5 kB / 0.6254 GB, free: 256 kB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1769, allocations: 0 / 0.6254 GB, free: 256 kB / 0.5294 GB Notification: Performance of Templates: time 0.003679/0.1806, allocations: 0.9254 MB / 0.6263 GB, free: 15.35 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.390678536030464] Failed to read output from testmodel.py, exit status != 0: 0.1899766669375822 0.20467285000000002 0.030690041 Calling exit ...