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.001025/0.001025, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007798/0.007798, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9933/0.9933, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 19.92 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 82.3 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001875/0.2219, allocations: 1.137 MB / 0.5891 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.2228, allocations: 431.1 kB / 0.5895 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.2228, allocations: 0 / 0.5895 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.2229, allocations: 0 / 0.5895 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.223, allocations: 7.938 kB / 0.5895 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.2232, allocations: 23.97 kB / 0.5895 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2233, allocations: 47.78 kB / 0.5896 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2234, allocations: 8 kB / 0.5896 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.2235, allocations: 19.88 kB / 0.5896 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.2236, allocations: 23.91 kB / 0.5896 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.2236, allocations: 0 / 0.5896 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.2236, allocations: 4 kB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.2237, allocations: 0 / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.2238, allocations: 53.55 kB / 0.5897 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2239, allocations: 27.89 kB / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2239, allocations: 0 / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.2239, allocations: 4 kB / 0.5897 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2239, allocations: 0 / 0.5897 GB, free: 0.8516 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.0006784/0.2246, allocations: 393.4 kB / 0.5901 GB, free: 424 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2246, allocations: 8.031 kB / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.2247, allocations: 8.844 kB / 0.5901 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2248, allocations: 172.2 kB / 0.5902 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2249, allocations: 12.36 kB / 0.5903 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2249, allocations: 4.375 kB / 0.5903 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.225, allocations: 53.98 kB / 0.5903 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.225, allocations: 3.984 kB / 0.5903 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2251, allocations: 4 kB / 0.5903 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2251, allocations: 3.938 kB / 0.5903 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.2251, allocations: 15.98 kB / 0.5903 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.2256, allocations: 276.8 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.2257, allocations: 46.5 kB / 0.5906 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.2258, allocations: 16.98 kB / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.2258, allocations: 0 / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.226, allocations: 113 kB / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.226, allocations: 0 / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002986/0.2263, allocations: 143.2 kB / 0.5909 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.2264, allocations: 85.17 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.2265, allocations: 109.8 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2265, allocations: 29.7 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.2266, allocations: 84.14 kB / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2266, allocations: 19.8 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.2267, allocations: 13.72 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2268, allocations: 322.8 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.2268, allocations: 23.94 kB / 0.5916 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.2269, allocations: 34.56 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.227, allocations: 106 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.227, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000167/0.2272, allocations: 135.2 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.2273, allocations: 29.77 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2273, allocations: 8 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2273, allocations: 0 / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.2274, allocations: 4 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2274, allocations: 0 / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.2275, allocations: 15.92 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2275, allocations: 4 kB / 0.5919 GB, free: 14.31 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.0001235/0.2276, allocations: 151.5 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.2276, allocations: 8.281 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.2277, allocations: 16.38 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2277, allocations: 0 / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2277, allocations: 0 / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2277, allocations: 3.938 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.2281, allocations: 396.2 kB / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2281, allocations: 0 / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.2281, allocations: 3.938 kB / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.2282, allocations: 4 kB / 0.5924 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2282, allocations: 7.984 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2282, allocations: 7.938 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2282, allocations: 0 / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.2284, allocations: 233.1 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.2285, allocations: 85.02 kB / 0.5928 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2285, allocations: 3.938 kB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2286, allocations: 15.98 kB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.2287, allocations: 15.92 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.2287, allocations: 4 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.2288, allocations: 83.28 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2288, allocations: 0 / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002263/0.229, allocations: 16 kB / 0.5929 GB, free: 13.15 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.0001335/0.2292, allocations: 105 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.2294, allocations: 111.4 kB / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2294, allocations: 128 / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2295, allocations: 95.39 kB / 0.5932 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2298, allocations: 19.97 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.2303, allocations: 153.6 kB / 0.5934 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2306, allocations: 0.6965 MB / 0.594 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.2307, allocations: 0 / 0.594 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.2307, allocations: 15.44 kB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.2307, allocations: 3.938 kB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.003818/0.2345, allocations: 0.7685 MB / 0.5948 GB, free: 11.12 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)