Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.001646, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7655/0.7655, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 404.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 107.3 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009467/0.0009467, allocations: 59.89 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1213, allocations: 80.42 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002424/0.1238, allocations: 1.486 MB / 0.6436 GB, free: 3.945 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006602/0.1245, allocations: 432.4 kB / 0.644 GB, free: 3.512 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.1245, allocations: 0 / 0.644 GB, free: 3.512 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.1246, allocations: 3.938 kB / 0.644 GB, free: 3.508 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.1246, allocations: 15.92 kB / 0.644 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.1248, allocations: 12 kB / 0.644 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.1248, allocations: 55.77 kB / 0.6441 GB, free: 3.426 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.226e-05/0.1249, allocations: 8 kB / 0.6441 GB, free: 3.418 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.125, allocations: 19.86 kB / 0.6441 GB, free: 3.398 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.125, allocations: 15.92 kB / 0.6441 GB, free: 3.383 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1251, allocations: 8 kB / 0.6441 GB, free: 3.375 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.1251, allocations: 0 / 0.6441 GB, free: 3.375 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.1251, allocations: 8 kB / 0.6441 GB, free: 3.367 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.1251, allocations: 19.86 kB / 0.6442 GB, free: 3.348 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.352e-05/0.1252, allocations: 39.88 kB / 0.6442 GB, free: 3.309 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1252, allocations: 0 / 0.6442 GB, free: 3.309 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1253, allocations: 0 / 0.6442 GB, free: 3.309 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1253, allocations: 0 / 0.6442 GB, free: 3.309 MB / 442.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.0005521/0.1258, allocations: 397.3 kB / 0.6446 GB, free: 2.867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1259, allocations: 8.031 kB / 0.6446 GB, free: 2.859 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.1259, allocations: 8.844 kB / 0.6446 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.126, allocations: 168.3 kB / 0.6447 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1261, allocations: 4.375 kB / 0.6447 GB, free: 2.645 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.1261, allocations: 4.375 kB / 0.6448 GB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1262, allocations: 57.94 kB / 0.6448 GB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1262, allocations: 3.938 kB / 0.6448 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1262, allocations: 0 / 0.6448 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1262, allocations: 0 / 0.6448 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.983e-05/0.1263, allocations: 23.98 kB / 0.6448 GB, free: 2.551 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1266, allocations: 268.8 kB / 0.6451 GB, free: 2.238 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.599e-05/0.1267, allocations: 46.5 kB / 0.6451 GB, free: 2.184 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.1268, allocations: 16.98 kB / 0.6452 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1268, allocations: 8 kB / 0.6452 GB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.1269, allocations: 108.9 kB / 0.6453 GB, free: 2.031 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.127, allocations: 0 / 0.6453 GB, free: 2.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002367/0.1272, allocations: 135.3 kB / 0.6454 GB, free: 1.887 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.1273, allocations: 81.11 kB / 0.6455 GB, free: 1.789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.1273, allocations: 113.8 kB / 0.6456 GB, free: 1.668 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1274, allocations: 29.7 kB / 0.6456 GB, free: 1.633 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1274, allocations: 84.14 kB / 0.6457 GB, free: 1.547 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1274, allocations: 23.86 kB / 0.6457 GB, free: 1.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.1275, allocations: 25.72 kB / 0.6457 GB, free: 1.492 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.1276, allocations: 326.8 kB / 0.646 GB, free: 1.164 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.1276, allocations: 12 kB / 0.6461 GB, free: 1.152 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.237e-05/0.1277, allocations: 42.5 kB / 0.6461 GB, free: 1.102 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.987e-05/0.1278, allocations: 106 kB / 0.6462 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1278, allocations: 8 kB / 0.6462 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001502/0.1279, allocations: 127.2 kB / 0.6463 GB, free: 0.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.128, allocations: 33.7 kB / 0.6464 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.128, allocations: 0 / 0.6464 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.128, allocations: 0 / 0.6464 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/0.128, allocations: 11.92 kB / 0.6464 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1281, allocations: 0 / 0.6464 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.1281, allocations: 11.94 kB / 0.6464 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1281, allocations: 4.375 kB / 0.6464 GB, free: 0.7656 MB / 442.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 (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 9.981e-05/0.1282, allocations: 156.8 kB / 0.6465 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.1283, allocations: 4 kB / 0.6465 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.1283, allocations: 8.375 kB / 0.6465 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1283, allocations: 7.938 kB / 0.6466 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1283, allocations: 0 / 0.6466 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1283, allocations: 0 / 0.6466 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.1287, allocations: 404 kB / 0.6469 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1287, allocations: 3.984 kB / 0.6469 GB, free: 120 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.1287, allocations: 4 kB / 0.6469 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1287, allocations: 0 / 0.6469 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1287, allocations: 4 kB / 0.647 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1287, allocations: 3.938 kB / 0.647 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1288, allocations: 3.938 kB / 0.647 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.1292, allocations: 0.7964 MB / 0.6477 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.1293, allocations: 93.03 kB / 0.6478 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1293, allocations: 0 / 0.6478 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1294, allocations: 15.98 kB / 0.6478 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1295, allocations: 4 kB / 0.6478 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1295, allocations: 0 / 0.6478 GB, free: 15.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.159e-05/0.1295, allocations: 99.23 kB / 0.6479 GB, free: 15.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1295, allocations: 0 / 0.6479 GB, free: 15.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000346/0.1299, allocations: 12 kB / 0.648 GB, free: 15 MB / 458.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.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.000107/0.13, allocations: 109.9 kB / 0.6481 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1302, allocations: 115.3 kB / 0.6482 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1302, allocations: 0 / 0.6482 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.1303, allocations: 91.33 kB / 0.6483 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1306, allocations: 15.94 kB / 0.6483 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.1311, allocations: 286.2 kB / 0.6485 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1313, allocations: 0.6887 MB / 0.6492 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.1314, allocations: 7.938 kB / 0.6492 GB, free: 13.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.1314, allocations: 11.44 kB / 0.6492 GB, free: 13.59 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1314, allocations: 3.938 kB / 0.6492 GB, free: 13.59 MB / 458.7 MB Notification: Performance of Templates: time 0.00284/0.1343, allocations: 0.8175 MB / 0.65 GB, free: 12.77 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)