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.001605/0.001605, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001513/0.001513, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8124/0.8124, allocations: 135.2 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.89 kB / 0.506 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3521, allocations: 80.91 MB / 0.585 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00223/0.3544, allocations: 1.418 MB / 0.5864 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005837/0.355, allocations: 436.3 kB / 0.5868 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.355, allocations: 1.719 kB / 0.5868 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.3551, allocations: 5.094 kB / 0.5869 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.3551, allocations: 9.078 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.3553, allocations: 19.92 kB / 0.5869 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.3554, allocations: 57.91 kB / 0.5869 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.3555, allocations: 4.562 kB / 0.5869 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.3555, allocations: 28.45 kB / 0.587 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.3556, allocations: 22.56 kB / 0.587 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3556, allocations: 3.625 kB / 0.587 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3556, allocations: 7.312 kB / 0.587 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.3556, allocations: 6.594 kB / 0.587 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.3557, allocations: 24.36 kB / 0.587 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.185e-05/0.3558, allocations: 35.2 kB / 0.5871 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3558, allocations: 0 / 0.5871 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3558, allocations: 0 / 0.5871 GB, free: 23.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3558, allocations: 0 / 0.5871 GB, free: 23.77 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.0004989/0.3563, allocations: 402.9 kB / 0.5874 GB, free: 23.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3564, allocations: 11.3 kB / 0.5875 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3564, allocations: 4.75 kB / 0.5875 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.3565, allocations: 171.6 kB / 0.5876 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3565, allocations: 10.91 kB / 0.5876 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3565, allocations: 4.5 kB / 0.5876 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.3566, allocations: 53.33 kB / 0.5877 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3567, allocations: 0.9062 kB / 0.5877 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3567, allocations: 4 kB / 0.5877 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.3567, allocations: 1.469 kB / 0.5877 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.035e-05/0.3567, allocations: 18.42 kB / 0.5877 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.357, allocations: 269.7 kB / 0.588 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.442e-05/0.3571, allocations: 50.59 kB / 0.588 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.3572, allocations: 25.67 kB / 0.588 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3572, allocations: 1.625 kB / 0.588 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.3573, allocations: 100.1 kB / 0.5881 GB, free: 22.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3573, allocations: 1.344 kB / 0.5881 GB, free: 22.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002288/0.3576, allocations: 143.8 kB / 0.5883 GB, free: 22.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3576, allocations: 85.05 kB / 0.5884 GB, free: 22.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.345e-05/0.3577, allocations: 107.7 kB / 0.5885 GB, free: 22.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3577, allocations: 32.39 kB / 0.5885 GB, free: 22.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.3577, allocations: 81.7 kB / 0.5886 GB, free: 22.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.3577, allocations: 22.14 kB / 0.5886 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.3578, allocations: 24.12 kB / 0.5886 GB, free: 22.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.3578, allocations: 325.7 kB / 0.5889 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.3579, allocations: 12.47 kB / 0.5889 GB, free: 21.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.3579, allocations: 46.38 kB / 0.589 GB, free: 21.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.358, allocations: 120.6 kB / 0.5891 GB, free: 21.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.358, allocations: 0 / 0.5891 GB, free: 21.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001229/0.3581, allocations: 122.6 kB / 0.5892 GB, free: 21.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3582, allocations: 31.33 kB / 0.5892 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3582, allocations: 1.125 kB / 0.5892 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3582, allocations: 3.656 kB / 0.5893 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.059e-05/0.3582, allocations: 11.27 kB / 0.5893 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3582, allocations: 5.094 kB / 0.5893 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.3583, allocations: 8.812 kB / 0.5893 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3583, allocations: 3.5 kB / 0.5893 GB, free: 21.54 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.963e-05/0.3584, allocations: 152.3 kB / 0.5894 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.3584, allocations: 9.938 kB / 0.5894 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.3584, allocations: 5.719 kB / 0.5894 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3584, allocations: 0 / 0.5894 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3584, allocations: 1.344 kB / 0.5894 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3585, allocations: 1.25 kB / 0.5894 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.3587, allocations: 407.7 kB / 0.5898 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3588, allocations: 4.484 kB / 0.5898 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-06/0.3588, allocations: 4.969 kB / 0.5898 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3588, allocations: 2.656 kB / 0.5898 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3588, allocations: 9.094 kB / 0.5899 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3588, allocations: 1.625 kB / 0.5899 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3588, allocations: 0 / 0.5899 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.359, allocations: 226.5 kB / 0.5901 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.359, allocations: 82.02 kB / 0.5901 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.359, allocations: 5.188 kB / 0.5902 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.3591, allocations: 13.05 kB / 0.5902 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.3592, allocations: 11.8 kB / 0.5902 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3592, allocations: 6.719 kB / 0.5902 GB, free: 20.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.3592, allocations: 90.34 kB / 0.5903 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3592, allocations: 2.094 kB / 0.5903 GB, free: 20.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.3594, allocations: 17.14 kB / 0.5903 GB, free: 20.57 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 7.58e-05/0.3595, allocations: 103.7 kB / 0.5904 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.3597, allocations: 117.2 kB / 0.5905 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3597, allocations: 0.5 kB / 0.5905 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.3598, allocations: 87.19 kB / 0.5906 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.36, allocations: 15.77 kB / 0.5906 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.3603, allocations: 177.6 kB / 0.5908 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.996e-05/0.3604, allocations: 0.687 MB / 0.5914 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.3604, allocations: 16.77 kB / 0.5915 GB, free: 19.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3604, allocations: 0 / 0.5915 GB, free: 19.42 MB / 446.1 MB Notification: Performance of Templates: time 0.002089/0.3625, allocations: 0.9019 MB / 0.5923 GB, free: 18.66 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)