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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001513/0.001514, allocations: 187 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8841/0.8841, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.83 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2085, allocations: 80.2 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003376/0.212, allocations: 1.425 MB / 0.6617 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000992/0.213, allocations: 442.9 kB / 0.6621 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.2131, allocations: 3.938 kB / 0.6621 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.2131, allocations: 3.938 kB / 0.6621 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2133, allocations: 11.92 kB / 0.6621 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.2135, allocations: 23.91 kB / 0.6621 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.2137, allocations: 51.86 kB / 0.6622 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2138, allocations: 7.984 kB / 0.6622 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2139, allocations: 19.88 kB / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.544e-05/0.214, allocations: 19.92 kB / 0.6622 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.214, allocations: 4 kB / 0.6622 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.2141, allocations: 4 kB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.2141, allocations: 15.91 kB / 0.6623 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.2142, allocations: 23.92 kB / 0.6623 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2143, allocations: 39.78 kB / 0.6623 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2143, allocations: 0 / 0.6623 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.158e-06/0.2143, allocations: 3.984 kB / 0.6623 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.2144, allocations: 0 / 0.6623 GB, free: 8.305 MB / 0.4981 GB 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.0008279/0.2152, allocations: 389.2 kB / 0.6627 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.2153, allocations: 8.031 kB / 0.6627 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.2153, allocations: 8.844 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2155, allocations: 176.2 kB / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.2156, allocations: 384 / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.2156, allocations: 4.375 kB / 0.6629 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2158, allocations: 57.98 kB / 0.6629 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2158, allocations: 0 / 0.6629 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.2158, allocations: 0 / 0.6629 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2158, allocations: 4 kB / 0.6629 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.2159, allocations: 23.98 kB / 0.663 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.2165, allocations: 268.8 kB / 0.6632 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.2166, allocations: 42.5 kB / 0.6633 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.2166, allocations: 20.92 kB / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.2167, allocations: 8 kB / 0.6633 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.2169, allocations: 101.1 kB / 0.6634 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.217, allocations: 0 / 0.6634 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000352/0.2173, allocations: 143.3 kB / 0.6635 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.2174, allocations: 81.11 kB / 0.6636 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2175, allocations: 113.8 kB / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.2176, allocations: 25.7 kB / 0.6637 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.2176, allocations: 84.14 kB / 0.6638 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.2177, allocations: 23.75 kB / 0.6638 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.2177, allocations: 25.7 kB / 0.6639 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2179, allocations: 322.8 kB / 0.6642 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.161e-05/0.2179, allocations: 19.92 kB / 0.6642 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.387e-05/0.218, allocations: 38.56 kB / 0.6642 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2181, allocations: 114 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2181, allocations: 0 / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001921/0.2183, allocations: 131.1 kB / 0.6645 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.2184, allocations: 37.64 kB / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2184, allocations: 0 / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.2184, allocations: 3.984 kB / 0.6645 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.2185, allocations: 4 kB / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2185, allocations: 0 / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.2186, allocations: 15.98 kB / 0.6645 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2186, allocations: 4.062 kB / 0.6645 GB, free: 5.762 MB / 0.4981 GB 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.0001488/0.2187, allocations: 151.4 kB / 0.6647 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.2188, allocations: 11.89 kB / 0.6647 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.2188, allocations: 12.38 kB / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2188, allocations: 0 / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2188, allocations: 0 / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2188, allocations: 384 / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.2193, allocations: 400.1 kB / 0.6651 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2193, allocations: 4 kB / 0.6651 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.2193, allocations: 3.938 kB / 0.6651 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2193, allocations: 0 / 0.6651 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2193, allocations: 7.984 kB / 0.6651 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2194, allocations: 0 / 0.6651 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2194, allocations: 0 / 0.6651 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.2196, allocations: 237.1 kB / 0.6653 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.2197, allocations: 81.11 kB / 0.6654 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2197, allocations: 0 / 0.6654 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2198, allocations: 15.92 kB / 0.6654 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.2199, allocations: 11.94 kB / 0.6654 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.2199, allocations: 7.984 kB / 0.6654 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.22, allocations: 91.81 kB / 0.6655 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.22, allocations: 0 / 0.6655 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002358/0.2202, allocations: 12 kB / 0.6655 GB, free: 4.613 MB / 0.4981 GB 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.0001261/0.2204, allocations: 103.2 kB / 0.6656 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2206, allocations: 115.3 kB / 0.6657 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2206, allocations: 0 / 0.6657 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/0.2207, allocations: 95.33 kB / 0.6658 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.221, allocations: 13.89 kB / 0.6658 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.2214, allocations: 187 kB / 0.666 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2218, allocations: 0.6846 MB / 0.6667 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.2218, allocations: 19.44 kB / 0.6667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.2218, allocations: 0 / 0.6667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of Templates: time 0.002891/0.2247, allocations: 0.9122 MB / 0.6676 GB, free: 2.406 MB / 0.4981 GB 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)