Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00138/0.00138, allocations: 108.2 kB / 15.99 MB, free: 6.336 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.001544/0.001545, allocations: 199.8 kB / 16.91 MB, free: 6.176 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.768/0.768, allocations: 132.2 MB / 422.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 59.91 kB / 0.5019 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4322, allocations: 80.18 MB / 0.5802 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002585/0.4348, allocations: 1.483 MB / 0.5817 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006629/0.4355, allocations: 439.6 kB / 0.5821 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.4356, allocations: 0 / 0.5821 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.4356, allocations: 4.625 kB / 0.5821 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.4357, allocations: 9.484 kB / 0.5821 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.4359, allocations: 17.86 kB / 0.5821 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.436, allocations: 56 kB / 0.5822 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4361, allocations: 9.156 kB / 0.5822 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.4362, allocations: 20.17 kB / 0.5822 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.4363, allocations: 22.17 kB / 0.5822 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.4363, allocations: 5.219 kB / 0.5822 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.4363, allocations: 4.688 kB / 0.5822 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.4363, allocations: 9.266 kB / 0.5822 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.4364, allocations: 22.61 kB / 0.5822 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.66e-05/0.4365, allocations: 28.2 kB / 0.5823 GB, free: 25.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4365, allocations: 4.469 kB / 0.5823 GB, free: 25.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4365, allocations: 0.5 kB / 0.5823 GB, free: 25.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.4365, allocations: 1.125 kB / 0.5823 GB, free: 25.78 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.0005815/0.4371, allocations: 395.4 kB / 0.5827 GB, free: 25.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4371, allocations: 9.406 kB / 0.5827 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.4372, allocations: 8.062 kB / 0.5827 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4373, allocations: 164.1 kB / 0.5828 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4373, allocations: 2.5 kB / 0.5828 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.4373, allocations: 7.984 kB / 0.5828 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.4375, allocations: 57.03 kB / 0.5829 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4375, allocations: 1.062 kB / 0.5829 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4375, allocations: 1.656 kB / 0.5829 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4375, allocations: 0.625 kB / 0.5829 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/0.4376, allocations: 18.89 kB / 0.5829 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.4379, allocations: 277 kB / 0.5832 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.438, allocations: 44.81 kB / 0.5832 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.4381, allocations: 20.61 kB / 0.5832 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.4381, allocations: 1.344 kB / 0.5832 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.4383, allocations: 102.7 kB / 0.5833 GB, free: 24.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.4383, allocations: 6.797 kB / 0.5833 GB, free: 24.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002864/0.4386, allocations: 139.9 kB / 0.5835 GB, free: 24.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.4386, allocations: 79.73 kB / 0.5836 GB, free: 24.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.4387, allocations: 116.1 kB / 0.5837 GB, free: 24.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.4387, allocations: 28.95 kB / 0.5837 GB, free: 24.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.4388, allocations: 89.31 kB / 0.5838 GB, free: 24.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.4388, allocations: 15.23 kB / 0.5838 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.4388, allocations: 30.48 kB / 0.5838 GB, free: 24.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.4389, allocations: 321 kB / 0.5841 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.329e-05/0.4389, allocations: 17.25 kB / 0.5841 GB, free: 23.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.439, allocations: 35.88 kB / 0.5842 GB, free: 23.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.477e-05/0.4391, allocations: 117.7 kB / 0.5843 GB, free: 23.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4391, allocations: 3.219 kB / 0.5843 GB, free: 23.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001409/0.4392, allocations: 124.7 kB / 0.5844 GB, free: 23.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4393, allocations: 36.27 kB / 0.5844 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4393, allocations: 1.344 kB / 0.5844 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4393, allocations: 2.969 kB / 0.5845 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.4393, allocations: 6.938 kB / 0.5845 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4394, allocations: 1.312 kB / 0.5845 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.4394, allocations: 11.77 kB / 0.5845 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.4394, allocations: 9.688 kB / 0.5845 GB, free: 23.56 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 8.112e-05/0.4395, allocations: 152.1 kB / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.4395, allocations: 3.812 kB / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.4396, allocations: 11.25 kB / 0.5846 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4396, allocations: 1.312 kB / 0.5846 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4396, allocations: 0 / 0.5846 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4396, allocations: 0 / 0.5846 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.4399, allocations: 409.6 kB / 0.585 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4399, allocations: 1.5 kB / 0.585 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/0.44, allocations: 1.125 kB / 0.585 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.44, allocations: 0 / 0.585 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.44, allocations: 6.609 kB / 0.585 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.44, allocations: 0 / 0.585 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.44, allocations: 1.219 kB / 0.585 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.4402, allocations: 230.2 kB / 0.5853 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.4402, allocations: 82.3 kB / 0.5853 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.4402, allocations: 6.594 kB / 0.5853 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.4403, allocations: 11.95 kB / 0.5854 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.4404, allocations: 15.33 kB / 0.5854 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.4404, allocations: 3.344 kB / 0.5854 GB, free: 22.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.361e-05/0.4404, allocations: 89.77 kB / 0.5855 GB, free: 22.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4405, allocations: 0 / 0.5855 GB, free: 22.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.4407, allocations: 17.59 kB / 0.5855 GB, free: 22.59 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 8.137e-05/0.4408, allocations: 106.9 kB / 0.5856 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.4409, allocations: 124.5 kB / 0.5857 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.441, allocations: 0 / 0.5857 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.167e-05/0.441, allocations: 89.33 kB / 0.5858 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4413, allocations: 12.3 kB / 0.5858 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.4417, allocations: 183.8 kB / 0.586 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.4418, allocations: 0.6858 MB / 0.5866 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.4418, allocations: 15.09 kB / 0.5867 GB, free: 21.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4418, allocations: 0 / 0.5867 GB, free: 21.44 MB / 446.1 MB Notification: Performance of Templates: time 0.002181/0.444, allocations: 0.913 MB / 0.5875 GB, free: 21 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)