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.001596/0.001596, allocations: 104.8 kB / 16.37 MB, free: 6.457 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.001352/0.001352, allocations: 195.8 kB / 17.31 MB, free: 5.812 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7651/0.7651, allocations: 132.2 MB / 423.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 55.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4068, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002495/0.4093, allocations: 1.427 MB / 0.5829 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.4101, allocations: 440.9 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.4101, allocations: 0 / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.4102, allocations: 4.469 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.791e-05/0.4102, allocations: 13.94 kB / 0.5833 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.4104, allocations: 24.27 kB / 0.5833 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.4105, allocations: 53.44 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4107, allocations: 5.406 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.4107, allocations: 23.7 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.4108, allocations: 22.22 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.4108, allocations: 3.938 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.4108, allocations: 6.094 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.4109, allocations: 9.375 kB / 0.5835 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.4109, allocations: 21.89 kB / 0.5835 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.411, allocations: 44.16 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.411, allocations: 0 / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4111, allocations: 0 / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.4111, allocations: 1.281 kB / 0.5835 GB, free: 26.05 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.000514/0.4116, allocations: 397.8 kB / 0.5839 GB, free: 25.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4116, allocations: 11.5 kB / 0.5839 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.4117, allocations: 7.656 kB / 0.5839 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/0.4118, allocations: 171.1 kB / 0.5841 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.4118, allocations: 2.656 kB / 0.5841 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.4118, allocations: 4.781 kB / 0.5841 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.4119, allocations: 54.12 kB / 0.5841 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.412, allocations: 0 / 0.5841 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.412, allocations: 1.469 kB / 0.5841 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.412, allocations: 0.5938 kB / 0.5841 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.412, allocations: 17.39 kB / 0.5842 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.4124, allocations: 279.4 kB / 0.5844 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.074e-05/0.4125, allocations: 44.53 kB / 0.5845 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.4125, allocations: 23.95 kB / 0.5845 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.4125, allocations: 1.125 kB / 0.5845 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.4127, allocations: 113.3 kB / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.4127, allocations: 0 / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002294/0.4129, allocations: 137 kB / 0.5847 GB, free: 24.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.413, allocations: 80.2 kB / 0.5848 GB, free: 24.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.413, allocations: 114.6 kB / 0.5849 GB, free: 24.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.4131, allocations: 30.8 kB / 0.5849 GB, free: 24.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.4131, allocations: 84.14 kB / 0.585 GB, free: 24.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.4131, allocations: 19.58 kB / 0.585 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.4132, allocations: 26.38 kB / 0.5851 GB, free: 24.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.4132, allocations: 324.4 kB / 0.5854 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.4133, allocations: 12.66 kB / 0.5854 GB, free: 24.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.4133, allocations: 38.59 kB / 0.5854 GB, free: 24.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.4134, allocations: 119.7 kB / 0.5855 GB, free: 23.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4134, allocations: 6.281 kB / 0.5855 GB, free: 23.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001309/0.4135, allocations: 125.8 kB / 0.5857 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4136, allocations: 32.11 kB / 0.5857 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4136, allocations: 1.125 kB / 0.5857 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4136, allocations: 1.438 kB / 0.5857 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.4136, allocations: 6.922 kB / 0.5857 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4137, allocations: 1.344 kB / 0.5857 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.4137, allocations: 9.719 kB / 0.5857 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4137, allocations: 3.625 kB / 0.5857 GB, free: 23.84 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 7.53e-05/0.4138, allocations: 152.6 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.4138, allocations: 3.875 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.4139, allocations: 13.7 kB / 0.5859 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4139, allocations: 2 kB / 0.5859 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4139, allocations: 4.438 kB / 0.5859 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4139, allocations: 2.312 kB / 0.5859 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.4142, allocations: 411 kB / 0.5863 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4142, allocations: 3.25 kB / 0.5863 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-06/0.4142, allocations: 10.08 kB / 0.5863 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4142, allocations: 0 / 0.5863 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4142, allocations: 3.875 kB / 0.5863 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4142, allocations: 0 / 0.5863 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4143, allocations: 0 / 0.5863 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.4144, allocations: 232.3 kB / 0.5865 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.4145, allocations: 83.17 kB / 0.5866 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.4145, allocations: 2.781 kB / 0.5866 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.4146, allocations: 9.828 kB / 0.5866 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.4146, allocations: 15.92 kB / 0.5866 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.4147, allocations: 3.125 kB / 0.5866 GB, free: 22.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.4147, allocations: 87.44 kB / 0.5867 GB, free: 22.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4147, allocations: 0 / 0.5867 GB, free: 22.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.4149, allocations: 13.25 kB / 0.5867 GB, free: 22.86 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.088e-05/0.415, allocations: 102.6 kB / 0.5868 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.4152, allocations: 118 kB / 0.5869 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4152, allocations: 3.938 kB / 0.5869 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.4153, allocations: 89.98 kB / 0.587 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.4156, allocations: 12.67 kB / 0.587 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.4159, allocations: 152.2 kB / 0.5872 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.416, allocations: 0.6848 MB / 0.5879 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.659e-05/0.4161, allocations: 10.48 kB / 0.5879 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.4161, allocations: 12.53 kB / 0.5879 GB, free: 21.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4161, allocations: 3.938 kB / 0.5879 GB, free: 21.75 MB / 446.1 MB Notification: Performance of Templates: time 0.00297/0.4191, allocations: 0.855 MB / 0.5887 GB, free: 21.35 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)