Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) 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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001569/0.001569, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001487/0.001487, allocations: 195.5 kB / 16.26 MB, free: 6.629 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9614/0.9614, allocations: 135.6 MB / 425.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 64.7 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1802, allocations: 81.02 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002768/0.183, allocations: 1.472 MB / 0.5859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007158/0.1837, allocations: 435 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.1838, allocations: 0 / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.1838, allocations: 3.938 kB / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.1839, allocations: 7.922 kB / 0.5864 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.1841, allocations: 12 kB / 0.5864 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1842, allocations: 59.78 kB / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.1843, allocations: 15.97 kB / 0.5864 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.1843, allocations: 19.92 kB / 0.5865 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.1844, allocations: 19.92 kB / 0.5865 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1844, allocations: 4 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.1844, allocations: 7.938 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.1845, allocations: 4 kB / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.1845, allocations: 23.86 kB / 0.5865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.1846, allocations: 43.88 kB / 0.5866 GB, free: 2.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1846, allocations: 0 / 0.5866 GB, free: 2.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1846, allocations: 0 / 0.5866 GB, free: 2.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1846, allocations: 0 / 0.5866 GB, free: 2.199 MB / 494.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.0006011/0.1853, allocations: 389.3 kB / 0.5869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1853, allocations: 12.03 kB / 0.5869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1853, allocations: 4.938 kB / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1855, allocations: 176.2 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1855, allocations: 8.375 kB / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1855, allocations: 384 / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1856, allocations: 50 kB / 0.5872 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1856, allocations: 0 / 0.5872 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1857, allocations: 8 kB / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1857, allocations: 3.938 kB / 0.5872 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.1857, allocations: 15.98 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.1861, allocations: 276.8 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.216e-05/0.1862, allocations: 42.56 kB / 0.5875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.1863, allocations: 20.98 kB / 0.5875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1863, allocations: 4.062 kB / 0.5875 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.1865, allocations: 109 kB / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1865, allocations: 0 / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002726/0.1868, allocations: 143.2 kB / 0.5878 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.1868, allocations: 85.11 kB / 0.5878 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.1869, allocations: 105.8 kB / 0.5879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.187, allocations: 33.7 kB / 0.588 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.187, allocations: 80.14 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1871, allocations: 27.69 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.1871, allocations: 21.72 kB / 0.5881 GB, free: 392 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1873, allocations: 322.8 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.1873, allocations: 20 kB / 0.5884 GB, free: 40 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.1874, allocations: 38.28 kB / 0.5885 GB, free: 16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1875, allocations: 113.9 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1875, allocations: 0 / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001594/0.1877, allocations: 123.3 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.1877, allocations: 33.77 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1877, allocations: 4 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1877, allocations: 0 / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.166e-05/0.1878, allocations: 7.984 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1878, allocations: 0 / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.1879, allocations: 11.84 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1879, allocations: 7.938 kB / 0.5888 GB, free: 15.66 MB / 0.4981 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.0001449/0.188, allocations: 152.7 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.1881, allocations: 12 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.1881, allocations: 4.375 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1881, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1881, allocations: 4 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1881, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.1886, allocations: 408.4 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1886, allocations: 7.922 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.1886, allocations: 3.938 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1886, allocations: 0 / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1886, allocations: 8 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1886, allocations: 4 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1886, allocations: 0 / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1889, allocations: 229.1 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.1889, allocations: 81.02 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.189, allocations: 4 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1891, allocations: 11.98 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.1891, allocations: 11.98 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1892, allocations: 12 kB / 0.5897 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.1892, allocations: 83.83 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1892, allocations: 0 / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000228/0.1894, allocations: 19.98 kB / 0.5898 GB, free: 14.5 MB / 0.4981 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.0001147/0.1896, allocations: 99.25 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.1898, allocations: 119.3 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1898, allocations: 0 / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1899, allocations: 99.69 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1902, allocations: 20.12 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.1905, allocations: 165.3 kB / 0.5902 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1909, allocations: 0.6846 MB / 0.5909 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.1909, allocations: 11.98 kB / 0.5909 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.1909, allocations: 7.438 kB / 0.5909 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1909, allocations: 4 kB / 0.5909 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.0033/0.1942, allocations: 0.8193 MB / 0.5917 GB, free: 12.41 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)