Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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.001401/0.001401, allocations: 102.1 kB / 16.4 MB, free: 6.48 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.001374/0.001374, allocations: 203.8 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.1 MB / 227.2 MB, free: 12.13 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2966/0.2966, allocations: 54.96 MB / 331.6 MB, free: 2.73 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay") translateModel(Annex60.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 73.3 kB / 464.9 MB, free: 388 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1763, allocations: 59.6 MB / 0.5122 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.003412/0.1798, allocations: 1.404 MB / 0.5136 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1808, allocations: 476.5 kB / 0.514 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.1809, allocations: 0 / 0.514 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.181, allocations: 3.938 kB / 0.514 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1811, allocations: 15.86 kB / 0.514 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1813, allocations: 23.92 kB / 0.5141 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1814, allocations: 47.86 kB / 0.5141 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1816, allocations: 15.91 kB / 0.5141 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.1816, allocations: 23.88 kB / 0.5141 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.1817, allocations: 23.91 kB / 0.5142 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1818, allocations: 4 kB / 0.5142 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.1818, allocations: 4 kB / 0.5142 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.1818, allocations: 0 / 0.5142 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.1819, allocations: 35.78 kB / 0.5142 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.182, allocations: 43.88 kB / 0.5142 GB, free: 2.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.182, allocations: 0 / 0.5142 GB, free: 2.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.182, allocations: 0 / 0.5142 GB, free: 2.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.182, allocations: 3.938 kB / 0.5142 GB, free: 2.695 MB / 398.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.000744/0.1828, allocations: 397 kB / 0.5146 GB, free: 2.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1828, allocations: 8.031 kB / 0.5146 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.1829, allocations: 8.891 kB / 0.5146 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1831, allocations: 168.3 kB / 0.5148 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1831, allocations: 12.38 kB / 0.5148 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1831, allocations: 4.375 kB / 0.5148 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1833, allocations: 49.98 kB / 0.5149 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1833, allocations: 4 kB / 0.5149 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1833, allocations: 0 / 0.5149 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1833, allocations: 0 / 0.5149 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.229e-05/0.1834, allocations: 19.98 kB / 0.5149 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.1839, allocations: 280.7 kB / 0.5152 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.184, allocations: 42.56 kB / 0.5152 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.1841, allocations: 20.98 kB / 0.5152 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1841, allocations: 0 / 0.5152 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.1843, allocations: 101.1 kB / 0.5153 GB, free: 1.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 5.04e-06/0.1843, allocations: 0 / 0.5153 GB, free: 1.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003306/0.1847, allocations: 143.3 kB / 0.5155 GB, free: 1.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.1847, allocations: 85.11 kB / 0.5155 GB, free: 1.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1849, allocations: 109.9 kB / 0.5156 GB, free: 1.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1849, allocations: 33.64 kB / 0.5157 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.185, allocations: 84.14 kB / 0.5158 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.185, allocations: 23.91 kB / 0.5158 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.1851, allocations: 25.7 kB / 0.5158 GB, free: 0.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1852, allocations: 318.8 kB / 0.5161 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/0.1853, allocations: 23.98 kB / 0.5161 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.1853, allocations: 34.84 kB / 0.5162 GB, free: 500 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1855, allocations: 110 kB / 0.5163 GB, free: 368 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1855, allocations: 3.938 kB / 0.5163 GB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001769/0.1857, allocations: 127.3 kB / 0.5164 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.1857, allocations: 41.77 kB / 0.5164 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1858, allocations: 0 / 0.5164 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1858, allocations: 3.938 kB / 0.5164 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.1858, allocations: 4 kB / 0.5164 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1858, allocations: 0 / 0.5164 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.1859, allocations: 11.94 kB / 0.5164 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1859, allocations: 4 kB / 0.5165 GB, free: 152 kB / 398.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.0001437/0.1861, allocations: 152 kB / 0.5166 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1861, allocations: 7.984 kB / 0.5166 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.1861, allocations: 16.31 kB / 0.5166 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1862, allocations: 4 kB / 0.5166 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1862, allocations: 0 / 0.5166 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1862, allocations: 0 / 0.5166 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.1866, allocations: 404.1 kB / 0.517 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1867, allocations: 0 / 0.517 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-06/0.1867, allocations: 0 / 0.517 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1867, allocations: 0 / 0.517 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.1867, allocations: 7.984 kB / 0.517 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1867, allocations: 4.062 kB / 0.517 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1867, allocations: 4 kB / 0.517 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.187, allocations: 233.1 kB / 0.5172 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.1871, allocations: 88.98 kB / 0.5173 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1871, allocations: 4 kB / 0.5173 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.1872, allocations: 7.984 kB / 0.5173 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.1873, allocations: 11.94 kB / 0.5174 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1873, allocations: 11.98 kB / 0.5174 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.404e-05/0.1874, allocations: 83.28 kB / 0.5174 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1874, allocations: 0 / 0.5174 GB, free: 15.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1876, allocations: 19.94 kB / 0.5175 GB, free: 14.99 MB / 414.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.0001201/0.1877, allocations: 103.2 kB / 0.5176 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.188, allocations: 111.3 kB / 0.5177 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.188, allocations: 0 / 0.5177 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.1881, allocations: 91.38 kB / 0.5178 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1884, allocations: 20.11 kB / 0.5178 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.1889, allocations: 162.2 kB / 0.5179 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.1893, allocations: 0.6845 MB / 0.5186 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.588e-05/0.1893, allocations: 4 kB / 0.5186 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.1894, allocations: 11.44 kB / 0.5186 GB, free: 13.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1894, allocations: 0 / 0.5186 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004313/0.1937, allocations: 0.867 MB / 0.5195 GB, free: 12.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.sim & ./Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.563930451869965]