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.006443/0.006443, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001198/0.001198, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.572/1.572, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3941/0.3941, allocations: 54.94 MB / 324.8 MB, free: 64 kB / 254.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.001378/0.001378, allocations: 66.22 kB / 456.2 MB, free: 38.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 59.59 MB / 0.5037 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.002189/0.1159, allocations: 1.408 MB / 0.5051 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006227/0.1166, allocations: 479 kB / 0.5055 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.1166, allocations: 1.125 kB / 0.5055 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.1167, allocations: 7.922 kB / 0.5055 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.1167, allocations: 5.125 kB / 0.5055 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.1169, allocations: 20.58 kB / 0.5056 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.117, allocations: 52.23 kB / 0.5056 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.1171, allocations: 11.88 kB / 0.5056 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.1171, allocations: 24.39 kB / 0.5056 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.1172, allocations: 21.92 kB / 0.5057 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1172, allocations: 6.812 kB / 0.5057 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.1172, allocations: 5.094 kB / 0.5057 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.1173, allocations: 7.938 kB / 0.5057 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1173, allocations: 23.2 kB / 0.5057 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.469e-05/0.1174, allocations: 47.09 kB / 0.5057 GB, free: 8.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1174, allocations: 0 / 0.5057 GB, free: 8.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1174, allocations: 1.219 kB / 0.5057 GB, free: 8.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.1175, allocations: 0 / 0.5057 GB, free: 8.336 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.0004387/0.1179, allocations: 391.2 kB / 0.5061 GB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1179, allocations: 10.22 kB / 0.5061 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.118, allocations: 6.844 kB / 0.5061 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.198e-05/0.118, allocations: 171.5 kB / 0.5063 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1181, allocations: 5.656 kB / 0.5063 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1181, allocations: 4.25 kB / 0.5063 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.1182, allocations: 53.19 kB / 0.5064 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1182, allocations: 0 / 0.5064 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1182, allocations: 5 kB / 0.5064 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1182, allocations: 9.297 kB / 0.5064 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.1183, allocations: 17.64 kB / 0.5064 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.1185, allocations: 275.8 kB / 0.5067 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.703e-05/0.1186, allocations: 45.88 kB / 0.5067 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.1187, allocations: 17.45 kB / 0.5067 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1187, allocations: 5.141 kB / 0.5067 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.1188, allocations: 101.7 kB / 0.5068 GB, free: 7.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1188, allocations: 1.531 kB / 0.5068 GB, free: 7.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002096/0.119, allocations: 139 kB / 0.5069 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.1191, allocations: 80.33 kB / 0.507 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.417e-05/0.1191, allocations: 115.3 kB / 0.5071 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.1192, allocations: 27.11 kB / 0.5072 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.1192, allocations: 98.58 kB / 0.5073 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.1192, allocations: 14.44 kB / 0.5073 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1192, allocations: 30.97 kB / 0.5073 GB, free: 6.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.768e-05/0.1193, allocations: 324.2 kB / 0.5076 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.1193, allocations: 12.53 kB / 0.5076 GB, free: 6.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.1194, allocations: 42.69 kB / 0.5077 GB, free: 6.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.1194, allocations: 117.2 kB / 0.5078 GB, free: 6.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1194, allocations: 0 / 0.5078 GB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001189/0.1196, allocations: 121.9 kB / 0.5079 GB, free: 6.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1196, allocations: 31.2 kB / 0.5079 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1196, allocations: 5.359 kB / 0.5079 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1196, allocations: 1.375 kB / 0.5079 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.39e-05/0.1196, allocations: 6.688 kB / 0.5079 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.1197, allocations: 1.375 kB / 0.5079 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.1197, allocations: 8.125 kB / 0.5079 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1197, allocations: 8.188 kB / 0.5079 GB, free: 6.098 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 5.755e-05/0.1198, allocations: 154.3 kB / 0.5081 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.1198, allocations: 8.031 kB / 0.5081 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.1198, allocations: 9.75 kB / 0.5081 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1198, allocations: 1.375 kB / 0.5081 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1199, allocations: 0 / 0.5081 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1199, allocations: 0 / 0.5081 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.1201, allocations: 407.3 kB / 0.5085 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1201, allocations: 5.375 kB / 0.5085 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/0.1202, allocations: 0 / 0.5085 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1202, allocations: 5.312 kB / 0.5085 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1202, allocations: 1.375 kB / 0.5085 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1202, allocations: 1.375 kB / 0.5085 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1202, allocations: 0 / 0.5085 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.1203, allocations: 229.2 kB / 0.5087 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.1204, allocations: 82.27 kB / 0.5088 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1204, allocations: 14.64 kB / 0.5088 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.1205, allocations: 8.719 kB / 0.5088 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1205, allocations: 15.23 kB / 0.5088 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1206, allocations: 11.62 kB / 0.5089 GB, free: 5.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.1206, allocations: 85.64 kB / 0.5089 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1206, allocations: 0 / 0.5089 GB, free: 5.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1208, allocations: 18.09 kB / 0.509 GB, free: 5.109 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.117e-05/0.1209, allocations: 98.56 kB / 0.5091 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1211, allocations: 124.2 kB / 0.5092 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1211, allocations: 0 / 0.5092 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.1211, allocations: 81.88 kB / 0.5092 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.1214, allocations: 15.5 kB / 0.5093 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.1217, allocations: 163.2 kB / 0.5094 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.727e-05/0.1218, allocations: 0.6925 MB / 0.5101 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.1218, allocations: 4 kB / 0.5101 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.1219, allocations: 15.38 kB / 0.5101 GB, free: 3.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1219, allocations: 0 / 0.5101 GB, free: 3.949 MB / 382.1 MB Notification: Performance of Templates: time 0.002441/0.1243, allocations: 0.8685 MB / 0.511 GB, free: 3.094 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)