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.006631/0.00663, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001175/0.001175, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.597/1.597, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4767/0.4767, allocations: 54.94 MB / 324.8 MB, free: 44 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.001947/0.001947, allocations: 76.27 kB / 456.2 MB, free: 38.67 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1274, allocations: 59.59 MB / 0.5037 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.00269/0.1302, allocations: 1.405 MB / 0.5051 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.131, allocations: 483.7 kB / 0.5055 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.1311, allocations: 0 / 0.5055 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.1311, allocations: 5.281 kB / 0.5055 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.1312, allocations: 9.203 kB / 0.5056 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.1314, allocations: 23.19 kB / 0.5056 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1315, allocations: 49.12 kB / 0.5056 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.1316, allocations: 11.84 kB / 0.5056 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.1317, allocations: 23.39 kB / 0.5057 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.1318, allocations: 21.73 kB / 0.5057 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1318, allocations: 4.062 kB / 0.5057 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.1318, allocations: 3.781 kB / 0.5057 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.1319, allocations: 13.64 kB / 0.5057 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.1319, allocations: 18.39 kB / 0.5057 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1321, allocations: 47.14 kB / 0.5058 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1321, allocations: 0 / 0.5058 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1321, allocations: 0 / 0.5058 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1321, allocations: 1.688 kB / 0.5058 GB, free: 8.195 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.0006586/0.1327, allocations: 386.3 kB / 0.5061 GB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.1328, allocations: 9.312 kB / 0.5061 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.1329, allocations: 12.31 kB / 0.5062 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.133, allocations: 179.2 kB / 0.5063 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1331, allocations: 2.594 kB / 0.5063 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1331, allocations: 2.844 kB / 0.5063 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1333, allocations: 53.91 kB / 0.5064 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1333, allocations: 0 / 0.5064 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1333, allocations: 5.688 kB / 0.5064 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1333, allocations: 3.938 kB / 0.5064 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.1334, allocations: 17.23 kB / 0.5064 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.134, allocations: 277.2 kB / 0.5067 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1341, allocations: 40.62 kB / 0.5067 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.1342, allocations: 17.73 kB / 0.5067 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1342, allocations: 5.219 kB / 0.5067 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.1345, allocations: 102.1 kB / 0.5068 GB, free: 7.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.376e-06/0.1345, allocations: 5.141 kB / 0.5068 GB, free: 7.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003866/0.1349, allocations: 147.5 kB / 0.507 GB, free: 6.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.135, allocations: 79.86 kB / 0.507 GB, free: 6.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1351, allocations: 112.8 kB / 0.5072 GB, free: 6.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1351, allocations: 25.7 kB / 0.5072 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.1352, allocations: 94.84 kB / 0.5073 GB, free: 6.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1352, allocations: 18.48 kB / 0.5073 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.1353, allocations: 29.91 kB / 0.5073 GB, free: 6.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.1354, allocations: 321.5 kB / 0.5076 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.1355, allocations: 16.25 kB / 0.5076 GB, free: 6.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.1356, allocations: 33.56 kB / 0.5077 GB, free: 6.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1357, allocations: 121.7 kB / 0.5078 GB, free: 6.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1357, allocations: 0 / 0.5078 GB, free: 6.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001832/0.1359, allocations: 129.8 kB / 0.5079 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.1359, allocations: 32.58 kB / 0.5079 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1359, allocations: 0 / 0.5079 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.136, allocations: 1.375 kB / 0.5079 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.136, allocations: 8.109 kB / 0.508 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.136, allocations: 0 / 0.508 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.1361, allocations: 9.562 kB / 0.508 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1361, allocations: 6.75 kB / 0.508 GB, free: 5.953 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 0.0001052/0.1362, allocations: 155.7 kB / 0.5081 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1363, allocations: 8.406 kB / 0.5081 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.1363, allocations: 8.375 kB / 0.5081 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1363, allocations: 1.375 kB / 0.5081 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1363, allocations: 1.375 kB / 0.5081 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1363, allocations: 7.875 kB / 0.5081 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.1367, allocations: 399.4 kB / 0.5085 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1367, allocations: 3.938 kB / 0.5085 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.1367, allocations: 5.359 kB / 0.5085 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1368, allocations: 0 / 0.5085 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1368, allocations: 2.75 kB / 0.5085 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1368, allocations: 0 / 0.5085 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1368, allocations: 1.375 kB / 0.5085 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.137, allocations: 235.9 kB / 0.5088 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1371, allocations: 82.48 kB / 0.5088 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1371, allocations: 10.69 kB / 0.5088 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1372, allocations: 9.484 kB / 0.5089 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.1373, allocations: 10.67 kB / 0.5089 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1373, allocations: 4.125 kB / 0.5089 GB, free: 5.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.1374, allocations: 84.78 kB / 0.509 GB, free: 4.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1374, allocations: 0 / 0.509 GB, free: 4.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1376, allocations: 17.75 kB / 0.509 GB, free: 4.973 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 0.000136/0.1378, allocations: 103.8 kB / 0.5091 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.138, allocations: 120.2 kB / 0.5092 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.138, allocations: 0 / 0.5092 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.821e-05/0.1381, allocations: 85.58 kB / 0.5093 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1385, allocations: 15.61 kB / 0.5093 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.1388, allocations: 163.8 kB / 0.5094 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.139, allocations: 0.6906 MB / 0.5101 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.302e-05/0.1391, allocations: 8.047 kB / 0.5101 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.1391, allocations: 10.16 kB / 0.5101 GB, free: 3.836 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1391, allocations: 0 / 0.5101 GB, free: 3.836 MB / 382.1 MB Notification: Performance of Templates: time 0.003304/0.1424, allocations: 0.8649 MB / 0.511 GB, free: 3.195 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)