Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay") translateModel(Annex60.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.006155/0.006155, allocations: 101.4 kB / 15.73 MB, free: 6.469 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.001368/0.001369, allocations: 193.5 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4346/0.4346, allocations: 54.95 MB / 324.9 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 73.19 kB / 456.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1431, allocations: 59.59 MB / 0.5037 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.0025/0.1456, allocations: 1.4 MB / 0.505 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007434/0.1464, allocations: 486.2 kB / 0.5055 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.1464, allocations: 1.281 kB / 0.5055 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.1465, allocations: 3.938 kB / 0.5055 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.1466, allocations: 9.047 kB / 0.5055 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.1467, allocations: 23.72 kB / 0.5055 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1469, allocations: 52.7 kB / 0.5056 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.147, allocations: 12.58 kB / 0.5056 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.147, allocations: 23.22 kB / 0.5056 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.1471, allocations: 21.36 kB / 0.5056 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1471, allocations: 4.344 kB / 0.5057 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.1471, allocations: 3.094 kB / 0.5057 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.1472, allocations: 9.484 kB / 0.5057 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.1472, allocations: 22.45 kB / 0.5057 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.1473, allocations: 35.83 kB / 0.5057 GB, free: 8.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1473, allocations: 0 / 0.5057 GB, free: 8.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1473, allocations: 1.438 kB / 0.5057 GB, free: 8.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1473, allocations: 0 / 0.5057 GB, free: 8.426 MB / 382.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.0005291/0.1479, allocations: 399.1 kB / 0.5061 GB, free: 8.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1479, allocations: 9.969 kB / 0.5061 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.148, allocations: 7.562 kB / 0.5061 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.1481, allocations: 174.9 kB / 0.5063 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1481, allocations: 5.75 kB / 0.5063 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1481, allocations: 8.359 kB / 0.5063 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1482, allocations: 53.02 kB / 0.5064 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1482, allocations: 0 / 0.5064 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1482, allocations: 9.312 kB / 0.5064 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1482, allocations: 0 / 0.5064 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.345e-05/0.1483, allocations: 26.97 kB / 0.5064 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.1486, allocations: 279.8 kB / 0.5067 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.1487, allocations: 41.69 kB / 0.5067 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.1488, allocations: 21.23 kB / 0.5067 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1488, allocations: 5.375 kB / 0.5067 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.1489, allocations: 98.95 kB / 0.5068 GB, free: 7.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1489, allocations: 0 / 0.5068 GB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002385/0.1492, allocations: 139.5 kB / 0.5069 GB, free: 7.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1492, allocations: 83.86 kB / 0.507 GB, free: 7.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.1493, allocations: 111.5 kB / 0.5071 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.1493, allocations: 27.08 kB / 0.5072 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.1494, allocations: 94.84 kB / 0.5072 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1494, allocations: 14.56 kB / 0.5073 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1494, allocations: 29.89 kB / 0.5073 GB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.1495, allocations: 321.5 kB / 0.5076 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.1495, allocations: 16.23 kB / 0.5076 GB, free: 6.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.1496, allocations: 37.56 kB / 0.5076 GB, free: 6.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/0.1496, allocations: 113.3 kB / 0.5078 GB, free: 6.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1496, allocations: 0 / 0.5078 GB, free: 6.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001245/0.1498, allocations: 125.8 kB / 0.5079 GB, free: 6.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.1498, allocations: 36.58 kB / 0.5079 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1498, allocations: 0 / 0.5079 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1498, allocations: 1.375 kB / 0.5079 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.1499, allocations: 2.75 kB / 0.5079 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1499, allocations: 1.375 kB / 0.5079 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.15, allocations: 13.55 kB / 0.5079 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.15, allocations: 2.75 kB / 0.5079 GB, free: 6.18 MB / 382.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.35e-05/0.1501, allocations: 152 kB / 0.5081 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.1501, allocations: 10.64 kB / 0.5081 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.1501, allocations: 9.75 kB / 0.5081 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1501, allocations: 1.375 kB / 0.5081 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1501, allocations: 3.938 kB / 0.5081 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1501, allocations: 1.375 kB / 0.5081 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.1504, allocations: 411.3 kB / 0.5085 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1505, allocations: 0 / 0.5085 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.1505, allocations: 5.344 kB / 0.5085 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1505, allocations: 0 / 0.5085 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1505, allocations: 2.75 kB / 0.5085 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1505, allocations: 3.984 kB / 0.5085 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1505, allocations: 0 / 0.5085 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.1507, allocations: 236.6 kB / 0.5087 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.1507, allocations: 83.7 kB / 0.5088 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1507, allocations: 1.312 kB / 0.5088 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1508, allocations: 10.42 kB / 0.5088 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.1509, allocations: 14.39 kB / 0.5088 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1509, allocations: 11.61 kB / 0.5088 GB, free: 5.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.1509, allocations: 86.64 kB / 0.5089 GB, free: 5.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1509, allocations: 0 / 0.5089 GB, free: 5.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1512, allocations: 12.78 kB / 0.5089 GB, free: 5.191 MB / 382.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.887e-05/0.1513, allocations: 108.2 kB / 0.509 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1514, allocations: 115.6 kB / 0.5092 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1515, allocations: 0 / 0.5092 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.1515, allocations: 89.73 kB / 0.5092 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1518, allocations: 18.34 kB / 0.5093 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.1521, allocations: 167 kB / 0.5094 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.1523, allocations: 0.6879 MB / 0.5101 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.1523, allocations: 3.594 kB / 0.5101 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.1523, allocations: 10.19 kB / 0.5101 GB, free: 4.055 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1523, allocations: 0 / 0.5101 GB, free: 4.055 MB / 382.1 MB Notification: Performance of Templates: time 0.002688/0.155, allocations: 0.8949 MB / 0.511 GB, free: 3.234 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.sim & ./Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)