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.001458/0.001458, allocations: 106.1 kB / 15.99 MB, free: 6.352 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.001536/0.001536, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.779/0.779, allocations: 135.2 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.89 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 80.93 MB / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002411/0.3157, allocations: 1.485 MB / 0.586 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005804/0.3163, allocations: 429.3 kB / 0.5864 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.3164, allocations: 0.8438 kB / 0.5864 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.3164, allocations: 3.938 kB / 0.5864 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.3165, allocations: 14.2 kB / 0.5864 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.3167, allocations: 19.78 kB / 0.5865 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.3168, allocations: 53.73 kB / 0.5865 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.3168, allocations: 4.969 kB / 0.5865 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.3169, allocations: 20.39 kB / 0.5865 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.317, allocations: 21.92 kB / 0.5866 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.317, allocations: 5.531 kB / 0.5866 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.317, allocations: 2.844 kB / 0.5866 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.317, allocations: 14.44 kB / 0.5866 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.3171, allocations: 21.84 kB / 0.5866 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.278e-05/0.3172, allocations: 24.92 kB / 0.5866 GB, free: 23.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3172, allocations: 1.375 kB / 0.5866 GB, free: 23.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3172, allocations: 0.5312 kB / 0.5866 GB, free: 23.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3172, allocations: 1.344 kB / 0.5866 GB, free: 23.3 MB / 446.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.0004864/0.3177, allocations: 395.3 kB / 0.587 GB, free: 22.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3177, allocations: 9.547 kB / 0.587 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.3178, allocations: 5.75 kB / 0.587 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.526e-05/0.3179, allocations: 170.9 kB / 0.5872 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3179, allocations: 6.391 kB / 0.5872 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3179, allocations: 3.531 kB / 0.5872 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.58e-05/0.318, allocations: 55.81 kB / 0.5872 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.318, allocations: 0 / 0.5872 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.318, allocations: 0 / 0.5872 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.318, allocations: 1.406 kB / 0.5872 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.3181, allocations: 26.09 kB / 0.5873 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.3184, allocations: 269.9 kB / 0.5875 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.3185, allocations: 46.28 kB / 0.5876 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.3185, allocations: 18.11 kB / 0.5876 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3185, allocations: 5.609 kB / 0.5876 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.3187, allocations: 103.8 kB / 0.5877 GB, free: 22.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.923e-06/0.3187, allocations: 0 / 0.5877 GB, free: 22.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002425/0.319, allocations: 153.4 kB / 0.5878 GB, free: 22.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.319, allocations: 79.64 kB / 0.5879 GB, free: 21.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.3191, allocations: 113.6 kB / 0.588 GB, free: 21.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.3191, allocations: 30.86 kB / 0.588 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.3191, allocations: 81.45 kB / 0.5881 GB, free: 21.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3191, allocations: 23.64 kB / 0.5881 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.3192, allocations: 23.31 kB / 0.5882 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.3192, allocations: 325.8 kB / 0.5885 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.3193, allocations: 12.62 kB / 0.5885 GB, free: 21.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.3193, allocations: 38.12 kB / 0.5885 GB, free: 21.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.153e-05/0.3194, allocations: 115.2 kB / 0.5886 GB, free: 21.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3194, allocations: 0 / 0.5886 GB, free: 21.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001241/0.3195, allocations: 124.3 kB / 0.5888 GB, free: 21.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3195, allocations: 30.86 kB / 0.5888 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3195, allocations: 1.188 kB / 0.5888 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3196, allocations: 1.5 kB / 0.5888 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.3196, allocations: 3.75 kB / 0.5888 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3196, allocations: 7.031 kB / 0.5888 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.3197, allocations: 7.906 kB / 0.5888 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3197, allocations: 3.969 kB / 0.5888 GB, free: 21.09 MB / 446.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 6.709e-05/0.3198, allocations: 163 kB / 0.589 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.3198, allocations: 3.812 kB / 0.589 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.3198, allocations: 5.5 kB / 0.589 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3198, allocations: 0 / 0.589 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3198, allocations: 5.188 kB / 0.589 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3198, allocations: 0 / 0.589 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3201, allocations: 408.8 kB / 0.5894 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3201, allocations: 1.75 kB / 0.5894 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/0.3201, allocations: 1.312 kB / 0.5894 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3202, allocations: 5.359 kB / 0.5894 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3202, allocations: 5.375 kB / 0.5894 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3202, allocations: 6.672 kB / 0.5894 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3202, allocations: 3.984 kB / 0.5894 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.3203, allocations: 237.1 kB / 0.5896 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.3204, allocations: 83.48 kB / 0.5897 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3204, allocations: 2.531 kB / 0.5897 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3205, allocations: 13.67 kB / 0.5897 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3205, allocations: 12.95 kB / 0.5897 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3206, allocations: 2.625 kB / 0.5897 GB, free: 20.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.3206, allocations: 87.69 kB / 0.5898 GB, free: 20.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3206, allocations: 0 / 0.5898 GB, free: 20.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3208, allocations: 16.31 kB / 0.5898 GB, free: 20.11 MB / 446.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 6.804e-05/0.3209, allocations: 104.4 kB / 0.5899 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.3211, allocations: 120 kB / 0.59 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3211, allocations: 0 / 0.59 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.447e-05/0.3212, allocations: 89.11 kB / 0.5901 GB, free: 19.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3214, allocations: 16.05 kB / 0.5901 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.3217, allocations: 184.2 kB / 0.5903 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.253e-05/0.3218, allocations: 0.6838 MB / 0.591 GB, free: 18.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.3218, allocations: 11.91 kB / 0.591 GB, free: 18.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3219, allocations: 0.9062 kB / 0.591 GB, free: 18.96 MB / 446.1 MB Notification: Performance of Templates: time 0.002385/0.3242, allocations: 0.9042 MB / 0.5919 GB, free: 18.53 MB / 446.1 MB 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)