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.001712/0.001712, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002566/0.002566, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.785 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.9156/0.9156, allocations: 134 MB / 446.4 MB, free: 9.93 MB / 350.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.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.002117/0.002117, allocations: 70.8 kB / 0.6189 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1732, allocations: 85.9 MB / 0.7028 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002798/0.176, allocations: 1.438 MB / 0.7042 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009704/0.1769, allocations: 446.9 kB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.177, allocations: 0 / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.177, allocations: 7.922 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.1771, allocations: 11.88 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.1773, allocations: 19.92 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1774, allocations: 51.83 kB / 0.7047 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1775, allocations: 11.94 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.1776, allocations: 23.86 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.1777, allocations: 19.92 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1777, allocations: 0 / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.1777, allocations: 4 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.1777, allocations: 8 kB / 0.7048 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.1778, allocations: 19.86 kB / 0.7048 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1779, allocations: 51.81 kB / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1779, allocations: 0 / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1779, allocations: 0 / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1779, allocations: 0 / 0.7049 GB, free: 14.46 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.0006654/0.1786, allocations: 323.8 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1786, allocations: 8.031 kB / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.1787, allocations: 8.891 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1789, allocations: 106.5 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1789, allocations: 12.36 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1789, allocations: 4.375 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.179, allocations: 83.69 kB / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1791, allocations: 0 / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1791, allocations: 0 / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1791, allocations: 0 / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.1791, allocations: 45.69 kB / 0.7054 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1795, allocations: 220.4 kB / 0.7056 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1797, allocations: 64.22 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.1797, allocations: 50.61 kB / 0.7058 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1797, allocations: 8 kB / 0.7058 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.18, allocations: 130.7 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.18, allocations: 4 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003435/0.1803, allocations: 194.7 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.1804, allocations: 85.05 kB / 0.7062 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.1805, allocations: 109.8 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1805, allocations: 25.98 kB / 0.7063 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.1805, allocations: 92.2 kB / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.1806, allocations: 19.83 kB / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.1806, allocations: 29.66 kB / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1808, allocations: 322.8 kB / 0.7067 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.1808, allocations: 49.7 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.1809, allocations: 64.27 kB / 0.7068 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.181, allocations: 113.9 kB / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.181, allocations: 3.938 kB / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000202/0.1812, allocations: 157 kB / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.1812, allocations: 33.7 kB / 0.7071 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1812, allocations: 0 / 0.7071 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1813, allocations: 4.062 kB / 0.7071 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.1813, allocations: 4 kB / 0.7071 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1813, allocations: 0 / 0.7071 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.1814, allocations: 11.98 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1814, allocations: 4 kB / 0.7072 GB, free: 11.82 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.000126/0.1815, allocations: 155.4 kB / 0.7073 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.1815, allocations: 7.953 kB / 0.7073 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.1816, allocations: 16.36 kB / 0.7073 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1816, allocations: 0 / 0.7073 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1816, allocations: 0 / 0.7073 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1816, allocations: 4 kB / 0.7073 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.182, allocations: 369.5 kB / 0.7077 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.182, allocations: 0 / 0.7077 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.182, allocations: 7.922 kB / 0.7077 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.182, allocations: 0 / 0.7077 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.182, allocations: 4 kB / 0.7077 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.182, allocations: 0 / 0.7077 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.182, allocations: 0 / 0.7077 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1823, allocations: 266.8 kB / 0.708 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.1823, allocations: 4.047 kB / 0.708 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1823, allocations: 7.938 kB / 0.708 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1824, allocations: 15.98 kB / 0.708 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1824, allocations: 7.984 kB / 0.708 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1825, allocations: 4 kB / 0.708 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.1825, allocations: 91.25 kB / 0.7081 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1825, allocations: 0 / 0.7081 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002457/0.1828, allocations: 16 kB / 0.7081 GB, free: 10.77 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.0001118/0.1829, allocations: 105.5 kB / 0.7082 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.1831, allocations: 171.6 kB / 0.7084 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1831, allocations: 4.125 kB / 0.7084 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1832, allocations: 113 kB / 0.7085 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1835, allocations: 19.92 kB / 0.7085 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.1839, allocations: 175.5 kB / 0.7087 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.148e-05/0.184, allocations: 71.95 kB / 0.7087 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.184, allocations: 7.984 kB / 0.7087 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1841, allocations: 11.44 kB / 0.7087 GB, free: 10 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1841, allocations: 0 / 0.7087 GB, free: 10 MB / 0.5294 GB Notification: Performance of Templates: time 0.003554/0.1876, allocations: 0.955 MB / 0.7097 GB, free: 9.07 MB / 0.5294 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.660456754267216] Failed to read output from testmodel.py, exit status != 0: 0.1955546922981739 0.21138846900000002 0.030089637000000002 Calling exit ...