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-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_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.0009088/0.0009089, allocations: 96.25 kB / 15.05 MB, free: 1.113 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.001002/0.001002, allocations: 181.3 kB / 15.95 MB, free: 220 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.28/1.28, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8561/0.8561, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002917, allocations: 8 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 82.32 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001295/0.1459, allocations: 1.12 MB / 0.5883 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005406/0.1465, allocations: 399.5 kB / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.1465, allocations: 4 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.1465, allocations: 11.86 kB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.1466, allocations: 3.984 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.1467, allocations: 15.98 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.224e-05/0.1468, allocations: 31.95 kB / 0.5887 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.809e-05/0.1469, allocations: 4 kB / 0.5887 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.1469, allocations: 19.92 kB / 0.5888 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.147, allocations: 19.91 kB / 0.5888 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.147, allocations: 0 / 0.5888 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-06/0.1471, allocations: 8 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1471, allocations: 3.938 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.1471, allocations: 33.7 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.612e-05/0.1472, allocations: 27.95 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1472, allocations: 0 / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1472, allocations: 0 / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.1472, allocations: 0 / 0.5888 GB, free: 1.438 MB / 494.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.0004854/0.1477, allocations: 393.1 kB / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.1477, allocations: 12.03 kB / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.1478, allocations: 0 / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1479, allocations: 178.9 kB / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1479, allocations: 4 kB / 0.5894 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1479, allocations: 0 / 0.5894 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.148, allocations: 49.69 kB / 0.5895 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.148, allocations: 3.938 kB / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.148, allocations: 3.984 kB / 0.5895 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.148, allocations: 8 kB / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.1481, allocations: 15.98 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1484, allocations: 272.8 kB / 0.5897 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.1485, allocations: 46.5 kB / 0.5898 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1485, allocations: 0 / 0.5898 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.1487, allocations: 105.1 kB / 0.5899 GB, free: 196 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1487, allocations: 0 / 0.5899 GB, free: 196 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002724/0.149, allocations: 224.5 kB / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.149, allocations: 77.11 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.1491, allocations: 113.9 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1491, allocations: 29.7 kB / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.1492, allocations: 80.14 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.1492, allocations: 19.8 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.1492, allocations: 8 kB / 0.5904 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.1493, allocations: 318.6 kB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.1493, allocations: 15.98 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.134e-05/0.1494, allocations: 42.5 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.1494, allocations: 45.7 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1494, allocations: 0 / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001298/0.1496, allocations: 123.2 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.1496, allocations: 37.7 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1496, allocations: 7.969 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.1496, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.512e-05/0.1497, allocations: 4 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1497, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.1498, allocations: 11.94 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1498, allocations: 7.953 kB / 0.591 GB, free: 14.94 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 ($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 9.696e-05/0.1499, allocations: 155.5 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.1499, allocations: 7.906 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.1499, allocations: 8.375 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1499, allocations: 64 / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1499, allocations: 7.938 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.15, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.1503, allocations: 404.5 kB / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1503, allocations: 0 / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.1503, allocations: 7.938 kB / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1503, allocations: 4 kB / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1503, allocations: 0 / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1503, allocations: 0 / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1503, allocations: 0 / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.1505, allocations: 237 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1506, allocations: 81.11 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1506, allocations: 3.984 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.1507, allocations: 12 kB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1508, allocations: 15.97 kB / 0.5919 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1508, allocations: 4 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.1508, allocations: 91.22 kB / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1508, allocations: 0 / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002111/0.151, allocations: 16 kB / 0.592 GB, free: 13.78 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 (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 8.143e-05/0.1511, allocations: 99.25 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1513, allocations: 120.1 kB / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1513, allocations: 0 / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.1514, allocations: 87.34 kB / 0.5923 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.1516, allocations: 15.98 kB / 0.5923 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.1518, allocations: 156.8 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.152, allocations: 0.6926 MB / 0.5932 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.1521, allocations: 4 kB / 0.5932 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.1521, allocations: 15.38 kB / 0.5932 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1521, allocations: 0 / 0.5932 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.002281/0.1544, allocations: 0.7357 MB / 0.5939 GB, free: 11.79 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: