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.001126/0.001126, allocations: 109.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7551/0.7551, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 67.77 kB / 0.5576 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1797, allocations: 76.19 MB / 0.632 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002641/0.1824, allocations: 1.4 MB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007165/0.1832, allocations: 439 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.1832, allocations: 0 / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.1833, allocations: 7.922 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.147e-05/0.1834, allocations: 7.922 kB / 0.6338 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.1836, allocations: 19.92 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1837, allocations: 59.72 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1838, allocations: 8 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.1839, allocations: 27.84 kB / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.1839, allocations: 19.92 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.184, allocations: 4 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.184, allocations: 4 kB / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.184, allocations: 4 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.1841, allocations: 27.86 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1842, allocations: 47.81 kB / 0.6341 GB, free: 2.371 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1842, allocations: 0 / 0.6341 GB, free: 2.371 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1842, allocations: 4 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.85e-06/0.1842, allocations: 0 / 0.6341 GB, free: 2.367 MB / 478.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.0006445/0.1849, allocations: 389.1 kB / 0.6344 GB, free: 1.934 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1849, allocations: 11.97 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.185, allocations: 4.938 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1851, allocations: 176.2 kB / 0.6346 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1851, allocations: 4.375 kB / 0.6346 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1851, allocations: 8.375 kB / 0.6346 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1853, allocations: 53.98 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1853, allocations: 4 kB / 0.6347 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1853, allocations: 0 / 0.6347 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1853, allocations: 0 / 0.6347 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.69e-05/0.1854, allocations: 19.98 kB / 0.6347 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.1858, allocations: 264.8 kB / 0.6349 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.594e-05/0.1859, allocations: 50.5 kB / 0.635 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.1859, allocations: 20.98 kB / 0.635 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1859, allocations: 4 kB / 0.635 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1861, allocations: 105.1 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1861, allocations: 0 / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002754/0.1864, allocations: 139.2 kB / 0.6353 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.1865, allocations: 81.11 kB / 0.6353 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.1866, allocations: 114.1 kB / 0.6354 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1866, allocations: 29.7 kB / 0.6355 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.1866, allocations: 84.14 kB / 0.6355 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.1867, allocations: 31.66 kB / 0.6356 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.1867, allocations: 21.72 kB / 0.6356 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1868, allocations: 322.8 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.1869, allocations: 19.94 kB / 0.6359 GB, free: 212 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.1869, allocations: 38.56 kB / 0.636 GB, free: 164 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.187, allocations: 110 kB / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.187, allocations: 0 / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001635/0.1872, allocations: 123.2 kB / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.1872, allocations: 33.7 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1872, allocations: 3.938 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1873, allocations: 4.062 kB / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.1873, allocations: 7.984 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1873, allocations: 4.328 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.1874, allocations: 8 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1874, allocations: 4 kB / 0.6362 GB, free: 15.83 MB / 494.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.0001041/0.1875, allocations: 155 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.1875, allocations: 7.906 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.1876, allocations: 8.375 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1876, allocations: 4 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1876, allocations: 4 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1876, allocations: 0 / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.188, allocations: 404.1 kB / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.188, allocations: 0 / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/0.188, allocations: 3.938 kB / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.188, allocations: 0 / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.188, allocations: 4 kB / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.188, allocations: 80 / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.188, allocations: 3.984 kB / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1883, allocations: 237.2 kB / 0.637 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.1883, allocations: 84.95 kB / 0.6371 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1884, allocations: 4 kB / 0.6371 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1885, allocations: 7.984 kB / 0.6371 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.1885, allocations: 19.86 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1885, allocations: 4 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.1886, allocations: 87.27 kB / 0.6372 GB, free: 14.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1886, allocations: 4 kB / 0.6372 GB, free: 14.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1888, allocations: 16 kB / 0.6373 GB, free: 14.67 MB / 494.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.0001084/0.189, allocations: 104.9 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1891, allocations: 115.3 kB / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1892, allocations: 0 / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.1892, allocations: 91.39 kB / 0.6376 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1896, allocations: 12.11 kB / 0.6376 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.1899, allocations: 157.5 kB / 0.6377 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.1902, allocations: 0.6884 MB / 0.6384 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.934e-05/0.1902, allocations: 7.984 kB / 0.6384 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.1902, allocations: 15.38 kB / 0.6384 GB, free: 13.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1902, allocations: 0 / 0.6384 GB, free: 13.41 MB / 494.1 MB Notification: Performance of Templates: time 0.003048/0.1933, allocations: 0.8601 MB / 0.6393 GB, free: 12.55 MB / 494.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)