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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3086/0.3086, allocations: 54.41 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001201/0.001201, allocations: 190.8 kB / 75.61 MB, free: 0.7617 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.647/1.647, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001713/0.001713, allocations: 122.4 kB / 341.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.643e-05, allocations: 0 / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.468, allocations: 57.65 MB / 463.1 MB, free: 51.83 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.5939, allocations: 85.42 MB / 0.5357 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5942, allocations: 74.61 kB / 0.5358 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003364/0.5976, allocations: 1.15 MB / 0.5369 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5976, allocations: 1.75 kB / 0.5369 GB, free: 14.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.5976, allocations: 4.625 kB / 0.5369 GB, free: 14.57 MB / 394.7 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.0005001/0.5981, allocations: 380.2 kB / 0.5373 GB, free: 14.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5982, allocations: 8.031 kB / 0.5373 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.5982, allocations: 7.906 kB / 0.5373 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.5984, allocations: 173.2 kB / 0.5374 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.5984, allocations: 0 / 0.5374 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.5984, allocations: 4 kB / 0.5374 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.895e-05/0.5985, allocations: 14.59 kB / 0.5375 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.5987, allocations: 59.31 kB / 0.5375 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5987, allocations: 0 / 0.5375 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5987, allocations: 0.6562 kB / 0.5375 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5987, allocations: 0 / 0.5375 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.5991, allocations: 243.1 kB / 0.5377 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.56e-05/0.5992, allocations: 38.48 kB / 0.5378 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.5993, allocations: 24.97 kB / 0.5378 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.5993, allocations: 7.953 kB / 0.5378 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.5995, allocations: 101.5 kB / 0.5379 GB, free: 13.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.5995, allocations: 0 / 0.5379 GB, free: 13.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000278/0.5998, allocations: 81.59 kB / 0.538 GB, free: 13.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.5998, allocations: 83.11 kB / 0.5381 GB, free: 13.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.5999, allocations: 102.2 kB / 0.5382 GB, free: 13.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5999, allocations: 25.7 kB / 0.5382 GB, free: 13.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.6, allocations: 92.2 kB / 0.5383 GB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.6, allocations: 17.94 kB / 0.5383 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.6001, allocations: 0 / 0.5383 GB, free: 12.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6002, allocations: 318.8 kB / 0.5386 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.6002, allocations: 15.94 kB / 0.5386 GB, free: 12.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.6003, allocations: 37.09 kB / 0.5387 GB, free: 12.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.6003, allocations: 19.98 kB / 0.5387 GB, free: 12.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6003, allocations: 0 / 0.5387 GB, free: 12.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001399/0.6005, allocations: 90.52 kB / 0.5388 GB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.6005, allocations: 37.66 kB / 0.5388 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6005, allocations: 0 / 0.5388 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6005, allocations: 0 / 0.5388 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.6006, allocations: 4 kB / 0.5388 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6006, allocations: 3.984 kB / 0.5388 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.6007, allocations: 8 kB / 0.5388 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.6007, allocations: 4 kB / 0.5388 GB, free: 12.4 MB / 394.7 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete 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 0.0001289/0.6008, allocations: 146.7 kB / 0.539 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.6009, allocations: 10.16 kB / 0.539 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.6009, allocations: 8.578 kB / 0.539 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6009, allocations: 6.25 kB / 0.539 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6009, allocations: 0 / 0.539 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6009, allocations: 0 / 0.539 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.6013, allocations: 338.6 kB / 0.5393 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6013, allocations: 0 / 0.5393 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.6013, allocations: 4 kB / 0.5393 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6013, allocations: 3.953 kB / 0.5393 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.6013, allocations: 8 kB / 0.5393 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6013, allocations: 0 / 0.5393 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6014, allocations: 0 / 0.5393 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.6016, allocations: 197 kB / 0.5395 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.6016, allocations: 77.11 kB / 0.5396 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.6016, allocations: 7.953 kB / 0.5396 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.6018, allocations: 15.98 kB / 0.5396 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.6018, allocations: 3.984 kB / 0.5396 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.6018, allocations: 4 kB / 0.5396 GB, free: 11.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.713e-05/0.6019, allocations: 88.06 kB / 0.5397 GB, free: 11.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6019, allocations: 0 / 0.5397 GB, free: 11.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.6021, allocations: 12 kB / 0.5397 GB, free: 11.41 MB / 394.7 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.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * 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 0.0001137/0.6022, allocations: 105.3 kB / 0.5398 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.6024, allocations: 115.4 kB / 0.5399 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6024, allocations: 0 / 0.5399 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.6025, allocations: 83.41 kB / 0.54 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.6027, allocations: 15.92 kB / 0.54 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.603, allocations: 88.69 kB / 0.5401 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.6033, allocations: 0.6918 MB / 0.5408 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.949e-05/0.6033, allocations: 11.98 kB / 0.5408 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.6034, allocations: 16.36 kB / 0.5408 GB, free: 10.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.784e-06/0.6034, allocations: 0 / 0.5408 GB, free: 10.22 MB / 394.7 MB Notification: Performance of Templates: time 0.002728/0.6061, allocations: 0.6964 MB / 0.5415 GB, free: 9.57 MB / 394.7 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)