Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001676/0.001676, allocations: 183.1 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/package.mo): time 0.8162/0.8162, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.362/1.362, allocations: 222.9 MB / 403.3 MB, free: 7.082 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.001043/0.001043, allocations: 107.4 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009998/0.0009998, allocations: 47.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1382, allocations: 80.21 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002573/0.1408, allocations: 1.486 MB / 0.6416 GB, free: 5.293 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00069/0.1415, allocations: 436 kB / 0.642 GB, free: 4.863 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.1415, allocations: 4 kB / 0.642 GB, free: 4.859 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.1415, allocations: 0 / 0.642 GB, free: 4.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.1416, allocations: 7.938 kB / 0.642 GB, free: 4.852 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.1418, allocations: 23.92 kB / 0.6421 GB, free: 4.828 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.1419, allocations: 51.78 kB / 0.6421 GB, free: 4.777 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.1419, allocations: 11.98 kB / 0.6421 GB, free: 4.766 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.142, allocations: 11.94 kB / 0.6421 GB, free: 4.754 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.1421, allocations: 15.92 kB / 0.6421 GB, free: 4.738 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1421, allocations: 4 kB / 0.6422 GB, free: 4.734 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.1421, allocations: 4 kB / 0.6422 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.1421, allocations: 11.98 kB / 0.6422 GB, free: 4.719 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.1422, allocations: 15.88 kB / 0.6422 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.675e-05/0.1423, allocations: 39.88 kB / 0.6422 GB, free: 4.664 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1423, allocations: 0 / 0.6422 GB, free: 4.664 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1423, allocations: 3.938 kB / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1423, allocations: 0 / 0.6422 GB, free: 4.66 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.0005602/0.1428, allocations: 401.3 kB / 0.6426 GB, free: 4.215 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1429, allocations: 8.031 kB / 0.6426 GB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.1429, allocations: 8.844 kB / 0.6426 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.143, allocations: 168.3 kB / 0.6428 GB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1431, allocations: 4.375 kB / 0.6428 GB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1431, allocations: 8.312 kB / 0.6428 GB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1432, allocations: 53.98 kB / 0.6428 GB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.1432, allocations: 4 kB / 0.6429 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1432, allocations: 0 / 0.6429 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1432, allocations: 0 / 0.6429 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.1433, allocations: 23.92 kB / 0.6429 GB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.1436, allocations: 272.8 kB / 0.6431 GB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.1437, allocations: 38.58 kB / 0.6432 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.1437, allocations: 24.91 kB / 0.6432 GB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1438, allocations: 0 / 0.6432 GB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1439, allocations: 112.9 kB / 0.6433 GB, free: 3.379 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.1439, allocations: 0 / 0.6433 GB, free: 3.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002453/0.1442, allocations: 131.4 kB / 0.6434 GB, free: 3.238 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1443, allocations: 89.03 kB / 0.6435 GB, free: 3.133 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.1443, allocations: 113.8 kB / 0.6436 GB, free: 3.012 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1444, allocations: 29.7 kB / 0.6436 GB, free: 2.977 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.1444, allocations: 84.14 kB / 0.6437 GB, free: 2.891 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1444, allocations: 15.88 kB / 0.6437 GB, free: 2.875 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.1445, allocations: 33.7 kB / 0.6438 GB, free: 2.836 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1446, allocations: 322.8 kB / 0.6441 GB, free: 2.512 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.1446, allocations: 15.98 kB / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.1447, allocations: 38.56 kB / 0.6441 GB, free: 2.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.361e-05/0.1448, allocations: 105.9 kB / 0.6442 GB, free: 2.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1448, allocations: 4 kB / 0.6442 GB, free: 2.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000137/0.145, allocations: 127.6 kB / 0.6444 GB, free: 2.184 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.145, allocations: 33.7 kB / 0.6444 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.145, allocations: 0 / 0.6444 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.145, allocations: 0 / 0.6444 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.1451, allocations: 4 kB / 0.6444 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1451, allocations: 4.359 kB / 0.6444 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.1451, allocations: 15.92 kB / 0.6444 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1451, allocations: 4 kB / 0.6444 GB, free: 2.117 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 8.949e-05/0.1452, allocations: 157.5 kB / 0.6446 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1453, allocations: 7.938 kB / 0.6446 GB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.1453, allocations: 16.34 kB / 0.6446 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1453, allocations: 4 kB / 0.6446 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1453, allocations: 0 / 0.6446 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1453, allocations: 0 / 0.6446 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.1457, allocations: 404 kB / 0.645 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1457, allocations: 0 / 0.645 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.1457, allocations: 4 kB / 0.645 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1457, allocations: 3.938 kB / 0.645 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1457, allocations: 4 kB / 0.645 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1457, allocations: 4.062 kB / 0.645 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1458, allocations: 3.984 kB / 0.645 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.1462, allocations: 0.7959 MB / 0.6458 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.1462, allocations: 89.05 kB / 0.6459 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1463, allocations: 0 / 0.6459 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.1464, allocations: 15.98 kB / 0.6459 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1464, allocations: 11.92 kB / 0.6459 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1464, allocations: 0 / 0.6459 GB, free: 460 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.1465, allocations: 91.27 kB / 0.646 GB, free: 368 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1465, allocations: 0 / 0.646 GB, free: 368 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003088/0.1468, allocations: 15.98 kB / 0.646 GB, free: 352 kB / 442.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 8.489e-05/0.1469, allocations: 103.2 kB / 0.6461 GB, free: 240 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.147, allocations: 115.3 kB / 0.6462 GB, free: 112 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1471, allocations: 0 / 0.6462 GB, free: 112 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.1471, allocations: 87.39 kB / 0.6463 GB, free: 12 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1474, allocations: 21.38 kB / 0.6463 GB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.1478, allocations: 290.1 kB / 0.6466 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.148, allocations: 0.6926 MB / 0.6473 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.1481, allocations: 7.938 kB / 0.6473 GB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.1481, allocations: 11.44 kB / 0.6473 GB, free: 14.93 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1481, allocations: 0 / 0.6473 GB, free: 14.93 MB / 458.7 MB Notification: Performance of Templates: time 0.002503/0.1506, allocations: 0.8166 MB / 0.6481 GB, free: 14.12 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)