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.001236/0.001236, allocations: 107.3 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.001693/0.001692, allocations: 189 kB / 16.25 MB, free: 6.152 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9682/0.9682, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 68.19 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2003, allocations: 80.92 MB / 0.5839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.004033/0.2044, allocations: 1.484 MB / 0.5853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.2054, allocations: 431 kB / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.2054, allocations: 0 / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.2055, allocations: 3.938 kB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.2056, allocations: 11.92 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.2059, allocations: 15.98 kB / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.206, allocations: 59.78 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2062, allocations: 8 kB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.2062, allocations: 19.92 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.275e-05/0.2063, allocations: 15.92 kB / 0.5859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.2064, allocations: 4 kB / 0.5859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.2064, allocations: 7.938 kB / 0.5859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.2064, allocations: 7.984 kB / 0.5859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.2065, allocations: 31.8 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2067, allocations: 35.89 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2067, allocations: 0 / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.2067, allocations: 0 / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2067, allocations: 0 / 0.5859 GB, free: 2.77 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.0008897/0.2076, allocations: 393.3 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.2077, allocations: 8.031 kB / 0.5863 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.2078, allocations: 8.938 kB / 0.5863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.208, allocations: 180.2 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.208, allocations: 4.375 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2081, allocations: 4.375 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2082, allocations: 50 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2083, allocations: 0 / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2083, allocations: 4 kB / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2083, allocations: 3.938 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.2084, allocations: 15.98 kB / 0.5866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.2091, allocations: 276.8 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.2092, allocations: 42.56 kB / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.2093, allocations: 16.98 kB / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.2093, allocations: 3.984 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.2096, allocations: 101 kB / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 3.226e-06/0.2096, allocations: 4 kB / 0.587 GB, free: 1.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004003/0.21, allocations: 147.3 kB / 0.5872 GB, free: 1.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.2101, allocations: 81.11 kB / 0.5872 GB, free: 1.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2102, allocations: 105.8 kB / 0.5873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2103, allocations: 33.7 kB / 0.5874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.2103, allocations: 84.12 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.2104, allocations: 19.72 kB / 0.5875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.2105, allocations: 25.72 kB / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2106, allocations: 322.8 kB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.2107, allocations: 16 kB / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.2108, allocations: 34.84 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.2109, allocations: 114 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2109, allocations: 3.938 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001736/0.2111, allocations: 131.3 kB / 0.5881 GB, free: 304 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.2111, allocations: 29.7 kB / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2111, allocations: 7.984 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2111, allocations: 0 / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/0.2112, allocations: 4 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2112, allocations: 0 / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.2113, allocations: 11.84 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2113, allocations: 7.938 kB / 0.5881 GB, free: 236 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.0001248/0.2114, allocations: 155.5 kB / 0.5883 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.2115, allocations: 8 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.2115, allocations: 4.375 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2115, allocations: 7.984 kB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2115, allocations: 0 / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2115, allocations: 0 / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.212, allocations: 404 kB / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.212, allocations: 3.938 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.212, allocations: 4.062 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.212, allocations: 0 / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.212, allocations: 12 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.212, allocations: 0 / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.212, allocations: 0 / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.2123, allocations: 233.1 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.2123, allocations: 81.02 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.2124, allocations: 7.984 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2125, allocations: 8 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.2126, allocations: 15.92 kB / 0.589 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.2126, allocations: 4 kB / 0.589 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.2126, allocations: 87.81 kB / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2126, allocations: 0 / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002501/0.2129, allocations: 23.94 kB / 0.5892 GB, free: 15.07 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.0001365/0.213, allocations: 100.4 kB / 0.5892 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2133, allocations: 123.5 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.2133, allocations: 4.125 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.6e-05/0.2134, allocations: 95.31 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2137, allocations: 12 kB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.2141, allocations: 161.5 kB / 0.5896 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2144, allocations: 0.6924 MB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.2145, allocations: 4 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.2145, allocations: 11.44 kB / 0.5903 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.2145, allocations: 0 / 0.5903 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.003638/0.2182, allocations: 0.8214 MB / 0.5911 GB, free: 12.98 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)