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.005976/0.005976, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001203/0.001203, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8032/0.8032, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.88 kB / 0.5813 GB, free: 7.562 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4839, allocations: 80.2 MB / 0.6596 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002322/0.4863, allocations: 1.425 MB / 0.661 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007117/0.487, allocations: 430.6 kB / 0.6614 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.4871, allocations: 1.375 kB / 0.6614 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.4871, allocations: 5.344 kB / 0.6614 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.4872, allocations: 10.64 kB / 0.6615 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.4874, allocations: 23.92 kB / 0.6615 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.4875, allocations: 54.78 kB / 0.6615 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.4876, allocations: 9.562 kB / 0.6615 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.4877, allocations: 23.16 kB / 0.6616 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.4878, allocations: 22.17 kB / 0.6616 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4878, allocations: 3.531 kB / 0.6616 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.4878, allocations: 3.75 kB / 0.6616 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.4878, allocations: 11.62 kB / 0.6616 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.4879, allocations: 19.95 kB / 0.6616 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.488, allocations: 43.58 kB / 0.6617 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.488, allocations: 0.6562 kB / 0.6617 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.488, allocations: 3.938 kB / 0.6617 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4881, allocations: 1.031 kB / 0.6617 GB, free: 8.836 MB / 0.4981 GB 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.0005532/0.4886, allocations: 397.7 kB / 0.662 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4887, allocations: 10.25 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.4887, allocations: 12.45 kB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/0.4888, allocations: 166.8 kB / 0.6622 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.4888, allocations: 1.688 kB / 0.6622 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.4889, allocations: 8.094 kB / 0.6622 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.489, allocations: 55.95 kB / 0.6623 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.489, allocations: 0 / 0.6623 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.489, allocations: 0 / 0.6623 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.489, allocations: 1.094 kB / 0.6623 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.4891, allocations: 20.98 kB / 0.6623 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.4895, allocations: 281.7 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.4896, allocations: 44.25 kB / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.4896, allocations: 22.2 kB / 0.6626 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.4897, allocations: 1.969 kB / 0.6626 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.4898, allocations: 96.78 kB / 0.6627 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4899, allocations: 4 kB / 0.6627 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003038/0.4902, allocations: 140.2 kB / 0.6629 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.4902, allocations: 80.09 kB / 0.6629 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.4903, allocations: 112.4 kB / 0.6631 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.4903, allocations: 26.95 kB / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.4904, allocations: 86.31 kB / 0.6632 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.4904, allocations: 25.05 kB / 0.6632 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.4904, allocations: 24.31 kB / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.4905, allocations: 326.5 kB / 0.6635 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.4905, allocations: 13.75 kB / 0.6635 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.4906, allocations: 42.94 kB / 0.6636 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.4907, allocations: 107.4 kB / 0.6637 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4907, allocations: 0 / 0.6637 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000144/0.4908, allocations: 127.3 kB / 0.6638 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.4909, allocations: 37.39 kB / 0.6638 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4909, allocations: 3.938 kB / 0.6638 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4909, allocations: 1.344 kB / 0.6638 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.491, allocations: 7.516 kB / 0.6638 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.491, allocations: 3.203 kB / 0.6638 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.4911, allocations: 6.469 kB / 0.6639 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.4911, allocations: 3.062 kB / 0.6639 GB, free: 6.703 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.0001013/0.4912, allocations: 154.6 kB / 0.664 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.4912, allocations: 7.625 kB / 0.664 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.4912, allocations: 10.22 kB / 0.664 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.4912, allocations: 1.344 kB / 0.664 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4912, allocations: 2.203 kB / 0.664 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4913, allocations: 0 / 0.664 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.4916, allocations: 407.3 kB / 0.6644 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4916, allocations: 0.6562 kB / 0.6644 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-06/0.4916, allocations: 2.094 kB / 0.6644 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4916, allocations: 4.547 kB / 0.6644 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4917, allocations: 6.922 kB / 0.6644 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4917, allocations: 1.141 kB / 0.6644 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4917, allocations: 7.922 kB / 0.6644 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.4919, allocations: 233.1 kB / 0.6647 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.4919, allocations: 79.22 kB / 0.6647 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.4919, allocations: 6.859 kB / 0.6647 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.492, allocations: 8.812 kB / 0.6648 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.4921, allocations: 17.39 kB / 0.6648 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.4921, allocations: 5.047 kB / 0.6648 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.4922, allocations: 86.8 kB / 0.6649 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4922, allocations: 3.938 kB / 0.6649 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002469/0.4924, allocations: 13.69 kB / 0.6649 GB, free: 5.758 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 8.646e-05/0.4925, allocations: 100.6 kB / 0.665 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.4927, allocations: 121.9 kB / 0.6651 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4927, allocations: 5.438 kB / 0.6651 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.4928, allocations: 88.27 kB / 0.6652 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.4931, allocations: 10.52 kB / 0.6652 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.4934, allocations: 156 kB / 0.6653 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.4935, allocations: 0.6853 MB / 0.666 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.4936, allocations: 9.969 kB / 0.666 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.4936, allocations: 18.59 kB / 0.666 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4936, allocations: 0 / 0.666 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.002755/0.4964, allocations: 0.8619 MB / 0.6669 GB, free: 4.234 MB / 0.4981 GB 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)