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.0007386/0.0007388, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0007915/0.0007915, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8 kB / 0.5034 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3564, allocations: 81.58 MB / 0.5831 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001346/0.3578, allocations: 1.134 MB / 0.5842 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006103/0.3585, allocations: 410.8 kB / 0.5846 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.3585, allocations: 4.75 kB / 0.5846 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.3585, allocations: 4.547 kB / 0.5846 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.3586, allocations: 11.28 kB / 0.5846 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.3588, allocations: 11.31 kB / 0.5846 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.3588, allocations: 47.56 kB / 0.5846 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.3589, allocations: 11.02 kB / 0.5846 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.359, allocations: 13.75 kB / 0.5847 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.3591, allocations: 26.67 kB / 0.5847 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3591, allocations: 1.75 kB / 0.5847 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.3591, allocations: 2.344 kB / 0.5847 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.3591, allocations: 7.766 kB / 0.5847 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.3592, allocations: 33.36 kB / 0.5847 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.872e-05/0.3592, allocations: 27.38 kB / 0.5848 GB, free: 3.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3593, allocations: 1.062 kB / 0.5848 GB, free: 3.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3593, allocations: 0 / 0.5848 GB, free: 3.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3593, allocations: 0 / 0.5848 GB, free: 3.039 MB / 430.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.0004676/0.3598, allocations: 395.1 kB / 0.5851 GB, free: 2.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3598, allocations: 10.61 kB / 0.5851 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.3598, allocations: 2.438 kB / 0.5851 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.3599, allocations: 171.8 kB / 0.5853 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3599, allocations: 6.406 kB / 0.5853 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.36, allocations: 3.328 kB / 0.5853 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.3601, allocations: 51.3 kB / 0.5854 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3601, allocations: 0 / 0.5854 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3601, allocations: 0.75 kB / 0.5854 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3601, allocations: 0.6562 kB / 0.5854 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.68e-05/0.3602, allocations: 24.39 kB / 0.5854 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.3605, allocations: 277.7 kB / 0.5857 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.48e-05/0.3606, allocations: 40.81 kB / 0.5857 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.3607, allocations: 21.64 kB / 0.5857 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3607, allocations: 2.547 kB / 0.5857 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.3608, allocations: 103.7 kB / 0.5858 GB, free: 1.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3609, allocations: 3.938 kB / 0.5858 GB, free: 1.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002576/0.3611, allocations: 136.2 kB / 0.586 GB, free: 1.863 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3612, allocations: 96.83 kB / 0.586 GB, free: 1.754 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.3612, allocations: 111 kB / 0.5862 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.3612, allocations: 27.67 kB / 0.5862 GB, free: 1.617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.3613, allocations: 85.75 kB / 0.5863 GB, free: 1.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3613, allocations: 17.03 kB / 0.5863 GB, free: 1.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.3613, allocations: 5.219 kB / 0.5863 GB, free: 1.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.3614, allocations: 323.2 kB / 0.5866 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.3614, allocations: 13.56 kB / 0.5866 GB, free: 1.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/0.3614, allocations: 37.2 kB / 0.5866 GB, free: 1.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.615e-05/0.3615, allocations: 46.27 kB / 0.5867 GB, free: 1.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3615, allocations: 0 / 0.5867 GB, free: 1.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001474/0.3617, allocations: 125.9 kB / 0.5868 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3617, allocations: 36.14 kB / 0.5868 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3617, allocations: 4.547 kB / 0.5868 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3617, allocations: 2.047 kB / 0.5868 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.3618, allocations: 7.969 kB / 0.5868 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.3618, allocations: 5.016 kB / 0.5869 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.3619, allocations: 16.98 kB / 0.5869 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3619, allocations: 3.453 kB / 0.5869 GB, free: 0.9805 MB / 430.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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/0.3619, allocations: 149.6 kB / 0.587 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.362, allocations: 7.375 kB / 0.587 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.362, allocations: 10.69 kB / 0.587 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.362, allocations: 1.094 kB / 0.587 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.362, allocations: 1.188 kB / 0.587 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.362, allocations: 4.516 kB / 0.587 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.3624, allocations: 396.4 kB / 0.5874 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3624, allocations: 0 / 0.5874 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.3624, allocations: 5.766 kB / 0.5874 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3624, allocations: 1.25 kB / 0.5874 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3624, allocations: 2.203 kB / 0.5874 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3624, allocations: 6.312 kB / 0.5874 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3624, allocations: 4 kB / 0.5874 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.3626, allocations: 240.1 kB / 0.5877 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.3626, allocations: 83.05 kB / 0.5877 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3627, allocations: 3.406 kB / 0.5877 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3628, allocations: 14.83 kB / 0.5878 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3628, allocations: 10.33 kB / 0.5878 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3628, allocations: 8.016 kB / 0.5878 GB, free: 124 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.019e-05/0.3629, allocations: 83.17 kB / 0.5879 GB, free: 48 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3629, allocations: 3.938 kB / 0.5879 GB, free: 44 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000248/0.3631, allocations: 17.75 kB / 0.5879 GB, free: 40 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.974e-05/0.3632, allocations: 101.1 kB / 0.588 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.3634, allocations: 116.5 kB / 0.5881 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3634, allocations: 0.6562 kB / 0.5881 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.3635, allocations: 92.59 kB / 0.5882 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3638, allocations: 10.31 kB / 0.5882 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.3642, allocations: 160.6 kB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.3644, allocations: 0.6854 MB / 0.589 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.31e-05/0.3645, allocations: 4.828 kB / 0.589 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.3645, allocations: 10.56 kB / 0.589 GB, free: 14.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3645, allocations: 0 / 0.589 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Templates: time 0.003023/0.3675, allocations: 0.7358 MB / 0.5897 GB, free: 14.86 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)