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.006289/0.006289, allocations: 99.84 kB / 15.73 MB, free: 6.02 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.001287/0.001287, allocations: 204.5 kB / 16.68 MB, free: 5.938 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9616/0.9616, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.5856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4765, allocations: 80.91 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002297/0.4789, allocations: 1.42 MB / 0.666 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006535/0.4795, allocations: 434 kB / 0.6664 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.4796, allocations: 0 / 0.6664 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.4796, allocations: 9.438 kB / 0.6664 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.4797, allocations: 13.31 kB / 0.6664 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.4799, allocations: 23.42 kB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.4801, allocations: 43.7 kB / 0.6665 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4802, allocations: 16.22 kB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.4802, allocations: 20.69 kB / 0.6665 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.4803, allocations: 25.92 kB / 0.6666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.4803, allocations: 3.375 kB / 0.6666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.4804, allocations: 8.281 kB / 0.6666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.4804, allocations: 9.219 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.4804, allocations: 21.61 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.4806, allocations: 44.06 kB / 0.6666 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4806, allocations: 0 / 0.6666 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4806, allocations: 0 / 0.6666 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4806, allocations: 1.156 kB / 0.6666 GB, free: 5.992 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.0005884/0.4812, allocations: 394.5 kB / 0.667 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4812, allocations: 13.81 kB / 0.667 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.4813, allocations: 7.281 kB / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.685e-05/0.4814, allocations: 170.1 kB / 0.6672 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4814, allocations: 5.828 kB / 0.6672 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.4814, allocations: 2.938 kB / 0.6672 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.4815, allocations: 57.22 kB / 0.6673 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4815, allocations: 1.312 kB / 0.6673 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4815, allocations: 0 / 0.6673 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4816, allocations: 1.344 kB / 0.6673 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.4816, allocations: 17.45 kB / 0.6673 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.482, allocations: 280.5 kB / 0.6675 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.482, allocations: 45.97 kB / 0.6676 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.4821, allocations: 17.2 kB / 0.6676 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.4821, allocations: 1.25 kB / 0.6676 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.4823, allocations: 110.2 kB / 0.6677 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4823, allocations: 0 / 0.6677 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002808/0.4826, allocations: 137.2 kB / 0.6678 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.4826, allocations: 79.89 kB / 0.6679 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.4827, allocations: 119.2 kB / 0.668 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.4827, allocations: 26.86 kB / 0.6681 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.4827, allocations: 85.42 kB / 0.6681 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.4828, allocations: 11.66 kB / 0.6682 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.4828, allocations: 34.2 kB / 0.6682 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.4829, allocations: 323.9 kB / 0.6685 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.4829, allocations: 17.06 kB / 0.6685 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.483, allocations: 38.66 kB / 0.6685 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.483, allocations: 112.4 kB / 0.6687 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4831, allocations: 3.984 kB / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001349/0.4832, allocations: 125.7 kB / 0.6688 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.4832, allocations: 31.98 kB / 0.6688 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4832, allocations: 1.344 kB / 0.6688 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4833, allocations: 1.75 kB / 0.6688 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.4833, allocations: 6.844 kB / 0.6688 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4833, allocations: 1.344 kB / 0.6688 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.4834, allocations: 12.48 kB / 0.6688 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4834, allocations: 7.719 kB / 0.6688 GB, free: 3.762 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 8.051e-05/0.4835, allocations: 154.6 kB / 0.669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.4835, allocations: 7.938 kB / 0.669 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.4835, allocations: 9.906 kB / 0.669 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4835, allocations: 1.594 kB / 0.669 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4836, allocations: 0 / 0.669 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4836, allocations: 0 / 0.669 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.4839, allocations: 403.2 kB / 0.6694 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4839, allocations: 4.062 kB / 0.6694 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.964e-06/0.4839, allocations: 1.375 kB / 0.6694 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4839, allocations: 5.375 kB / 0.6694 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4839, allocations: 5.297 kB / 0.6694 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4839, allocations: 1.281 kB / 0.6694 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4839, allocations: 0 / 0.6694 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.4841, allocations: 236.6 kB / 0.6696 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.4841, allocations: 82.64 kB / 0.6697 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4842, allocations: 2.156 kB / 0.6697 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4843, allocations: 17.23 kB / 0.6697 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.4844, allocations: 11.48 kB / 0.6697 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4844, allocations: 6.969 kB / 0.6697 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.4844, allocations: 82.5 kB / 0.6698 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4844, allocations: 0 / 0.6698 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000233/0.4846, allocations: 16.53 kB / 0.6698 GB, free: 2.781 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 7.948e-05/0.4847, allocations: 108.1 kB / 0.6699 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.4849, allocations: 119.1 kB / 0.6701 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.4849, allocations: 0 / 0.6701 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.485, allocations: 85.55 kB / 0.6701 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.4853, allocations: 19.52 kB / 0.6702 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.4856, allocations: 156.8 kB / 0.6703 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.4857, allocations: 0.6841 MB / 0.671 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.4858, allocations: 10.56 kB / 0.671 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.4858, allocations: 15.3 kB / 0.671 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4858, allocations: 0 / 0.671 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of Templates: time 0.003027/0.4888, allocations: 0.8656 MB / 0.6718 GB, free: 1.215 MB / 0.4981 GB 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)