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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 192.3 kB / 22.23 MB, free: 5.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.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.8993/0.8993, allocations: 134 MB / 440.3 MB, free: 288 kB / 334.1 MB " [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.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(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: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 71.12 kB / 0.6107 GB, free: 13.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1703, allocations: 84.72 MB / 0.6934 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002939/0.1732, allocations: 1.431 MB / 0.6948 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008515/0.174, allocations: 454.9 kB / 0.6953 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.1741, allocations: 0 / 0.6953 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.1741, allocations: 3.938 kB / 0.6953 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.1742, allocations: 7.875 kB / 0.6953 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.1743, allocations: 19.98 kB / 0.6953 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1745, allocations: 51.84 kB / 0.6953 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.1745, allocations: 7.984 kB / 0.6954 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.1746, allocations: 23.86 kB / 0.6954 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.1747, allocations: 23.92 kB / 0.6954 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1747, allocations: 4 kB / 0.6954 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1747, allocations: 4 kB / 0.6954 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.1747, allocations: 11.92 kB / 0.6954 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.1748, allocations: 15.94 kB / 0.6954 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1749, allocations: 47.75 kB / 0.6955 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1749, allocations: 0 / 0.6955 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1749, allocations: 0 / 0.6955 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.1749, allocations: 4 kB / 0.6955 GB, free: 6.984 MB / 0.5137 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.0006268/0.1756, allocations: 319.9 kB / 0.6958 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1756, allocations: 12.03 kB / 0.6958 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.1756, allocations: 4.875 kB / 0.6958 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1758, allocations: 114.5 kB / 0.6959 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1758, allocations: 12.38 kB / 0.6959 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.1758, allocations: 384 / 0.6959 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1759, allocations: 50 kB / 0.696 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1759, allocations: 0 / 0.696 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.176, allocations: 8 kB / 0.696 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.176, allocations: 4 kB / 0.696 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.176, allocations: 15.98 kB / 0.696 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.1765, allocations: 243.8 kB / 0.6962 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.1766, allocations: 38.56 kB / 0.6963 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.1767, allocations: 20.92 kB / 0.6963 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1767, allocations: 3.984 kB / 0.6963 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1769, allocations: 117 kB / 0.6964 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1769, allocations: 0 / 0.6964 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0003023/0.1772, allocations: 135.3 kB / 0.6965 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.1773, allocations: 81.11 kB / 0.6966 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.1774, allocations: 113.8 kB / 0.6967 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1774, allocations: 29.7 kB / 0.6968 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.1775, allocations: 88.17 kB / 0.6968 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1775, allocations: 27.81 kB / 0.6969 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.1776, allocations: 25.72 kB / 0.6969 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1777, allocations: 330.7 kB / 0.6972 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.419e-05/0.1777, allocations: 12 kB / 0.6972 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.1778, allocations: 37.19 kB / 0.6972 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1779, allocations: 117.9 kB / 0.6974 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1779, allocations: 4 kB / 0.6974 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001798/0.1781, allocations: 119.3 kB / 0.6975 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.1781, allocations: 36.36 kB / 0.6975 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1781, allocations: 0 / 0.6975 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1782, allocations: 0 / 0.6975 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.1782, allocations: 7.984 kB / 0.6975 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1782, allocations: 0 / 0.6975 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.1783, allocations: 8 kB / 0.6975 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1783, allocations: 8.062 kB / 0.6975 GB, free: 4.637 MB / 0.5137 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.0001283/0.1784, allocations: 157.2 kB / 0.6977 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1784, allocations: 7.953 kB / 0.6977 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.1785, allocations: 8.375 kB / 0.6977 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1785, allocations: 4 kB / 0.6977 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1785, allocations: 0 / 0.6977 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1785, allocations: 384 / 0.6977 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.179, allocations: 375.2 kB / 0.6981 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.179, allocations: 4 kB / 0.6981 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.179, allocations: 3.984 kB / 0.6981 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.179, allocations: 4 kB / 0.6981 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.179, allocations: 0 / 0.6981 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.179, allocations: 4.062 kB / 0.6981 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.179, allocations: 0 / 0.6981 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1792, allocations: 237.1 kB / 0.6983 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.1793, allocations: 4 kB / 0.6983 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1793, allocations: 4 kB / 0.6983 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1794, allocations: 11.98 kB / 0.6983 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1794, allocations: 19.86 kB / 0.6983 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1794, allocations: 0 / 0.6983 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.1795, allocations: 91.27 kB / 0.6984 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1795, allocations: 0 / 0.6984 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002355/0.1797, allocations: 15.95 kB / 0.6984 GB, free: 3.613 MB / 0.5137 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.0001068/0.1798, allocations: 103.2 kB / 0.6985 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.18, allocations: 107.3 kB / 0.6986 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.18, allocations: 4 kB / 0.6986 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.1801, allocations: 79.39 kB / 0.6987 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1804, allocations: 20.8 kB / 0.6987 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.1808, allocations: 149.5 kB / 0.6989 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1811, allocations: 0.6924 MB / 0.6996 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.1811, allocations: 11.77 kB / 0.6996 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.1812, allocations: 11.44 kB / 0.6996 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1812, allocations: 0 / 0.6996 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.003587/0.1847, allocations: 0.9089 MB / 0.7005 GB, free: 1.461 MB / 0.5137 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.734366395510733] Failed to read output from testmodel.py, exit status != 0: 0.19246703758835793 0.207782992 0.029786126000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa701bb57b0>