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.00713/0.00713, allocations: 100.8 kB / 15.87 MB, free: 5.84 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.001476/0.001476, allocations: 193.6 kB / 16.79 MB, free: 5.777 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9319/0.9319, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 68.25 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2019, allocations: 80.92 MB / 0.5843 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003011/0.205, allocations: 1.484 MB / 0.5858 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.2058, allocations: 431 kB / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.2059, allocations: 3.938 kB / 0.5862 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.2059, allocations: 3.938 kB / 0.5862 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.206, allocations: 7.938 kB / 0.5862 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.2062, allocations: 19.98 kB / 0.5862 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2063, allocations: 43.86 kB / 0.5863 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.2064, allocations: 11.97 kB / 0.5863 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.2064, allocations: 15.94 kB / 0.5863 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.2065, allocations: 23.91 kB / 0.5863 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2065, allocations: 0 / 0.5863 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.2066, allocations: 7.938 kB / 0.5863 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.2066, allocations: 7.938 kB / 0.5863 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.2067, allocations: 19.92 kB / 0.5864 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.456e-05/0.2068, allocations: 27.95 kB / 0.5864 GB, free: 2.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.2068, allocations: 0 / 0.5864 GB, free: 2.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2068, allocations: 0 / 0.5864 GB, free: 2.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2068, allocations: 0 / 0.5864 GB, free: 2.875 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.0007195/0.2075, allocations: 389.3 kB / 0.5868 GB, free: 2.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2076, allocations: 12.03 kB / 0.5868 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.2076, allocations: 4.938 kB / 0.5868 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.2078, allocations: 176.2 kB / 0.5869 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2078, allocations: 4.375 kB / 0.5869 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.2078, allocations: 4.375 kB / 0.5869 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.208, allocations: 50 kB / 0.587 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.208, allocations: 0 / 0.587 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.208, allocations: 7.984 kB / 0.587 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.208, allocations: 7.875 kB / 0.587 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.2081, allocations: 16 kB / 0.587 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.2085, allocations: 268.8 kB / 0.5873 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.68e-05/0.2086, allocations: 42.56 kB / 0.5873 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.2087, allocations: 24.97 kB / 0.5873 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2087, allocations: 0 / 0.5873 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.2089, allocations: 105.1 kB / 0.5874 GB, free: 1.609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.755e-06/0.2089, allocations: 3.984 kB / 0.5874 GB, free: 1.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003054/0.2092, allocations: 147.2 kB / 0.5876 GB, free: 1.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.2093, allocations: 85.11 kB / 0.5877 GB, free: 1.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2094, allocations: 105.8 kB / 0.5878 GB, free: 1.234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2095, allocations: 29.7 kB / 0.5878 GB, free: 1.199 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.2095, allocations: 88.12 kB / 0.5879 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.2096, allocations: 19.72 kB / 0.5879 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.2096, allocations: 21.72 kB / 0.5879 GB, free: 1.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2098, allocations: 322.8 kB / 0.5882 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.445e-05/0.2098, allocations: 20 kB / 0.5882 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.2099, allocations: 34.56 kB / 0.5883 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.21, allocations: 122.3 kB / 0.5884 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.21, allocations: 0 / 0.5884 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001626/0.2102, allocations: 119.3 kB / 0.5885 GB, free: 416 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.2102, allocations: 41.75 kB / 0.5886 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2102, allocations: 4 kB / 0.5886 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2103, allocations: 0 / 0.5886 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.637e-05/0.2103, allocations: 4 kB / 0.5886 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2103, allocations: 0 / 0.5886 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.2104, allocations: 15.91 kB / 0.5886 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2104, allocations: 7.938 kB / 0.5886 GB, free: 336 kB / 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.000123/0.2105, allocations: 151.5 kB / 0.5887 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.2106, allocations: 8 kB / 0.5887 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.2106, allocations: 8.375 kB / 0.5887 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2106, allocations: 0 / 0.5887 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2106, allocations: 4 kB / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2106, allocations: 7.922 kB / 0.5888 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.2111, allocations: 404 kB / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2111, allocations: 0 / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-06/0.2111, allocations: 384 / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2111, allocations: 0 / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2111, allocations: 4 kB / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2111, allocations: 4 kB / 0.5891 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2111, allocations: 3.938 kB / 0.5891 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.2114, allocations: 233.1 kB / 0.5894 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.2114, allocations: 81.02 kB / 0.5894 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.2115, allocations: 7.984 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.2116, allocations: 4 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.2116, allocations: 15.92 kB / 0.5895 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2117, allocations: 8 kB / 0.5895 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.2117, allocations: 87.27 kB / 0.5896 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2117, allocations: 0 / 0.5896 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002301/0.212, allocations: 16 kB / 0.5896 GB, free: 15.18 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.0001162/0.2121, allocations: 99.25 kB / 0.5897 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.2123, allocations: 115.3 kB / 0.5898 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2123, allocations: 0 / 0.5898 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-05/0.2124, allocations: 99.45 kB / 0.5899 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2128, allocations: 8 kB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.2132, allocations: 192.9 kB / 0.5901 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.2135, allocations: 0.6887 MB / 0.5907 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.2136, allocations: 15.44 kB / 0.5908 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.2136, allocations: 0 / 0.5908 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.002621/0.2162, allocations: 0.8976 MB / 0.5916 GB, free: 12.99 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)