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.001255/0.001256, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001262/0.001262, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8423/0.8423, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.28 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2076, allocations: 80.22 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003316/0.211, allocations: 1.41 MB / 0.6617 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008189/0.2118, allocations: 438.9 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.2119, allocations: 0 / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.2119, allocations: 7.938 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.331e-05/0.212, allocations: 11.92 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.2122, allocations: 19.92 kB / 0.6621 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2124, allocations: 63.77 kB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2125, allocations: 4 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.2126, allocations: 23.86 kB / 0.6622 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.2127, allocations: 15.92 kB / 0.6622 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.2127, allocations: 4 kB / 0.6622 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.2127, allocations: 8 kB / 0.6622 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.2128, allocations: 4 kB / 0.6622 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.2128, allocations: 31.84 kB / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.213, allocations: 43.81 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.213, allocations: 0 / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.213, allocations: 0 / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.213, allocations: 0 / 0.6623 GB, free: 8.219 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.0007008/0.2137, allocations: 393.1 kB / 0.6627 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2137, allocations: 8.031 kB / 0.6627 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.2138, allocations: 8.844 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2139, allocations: 172.3 kB / 0.6629 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.214, allocations: 384 / 0.6629 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.214, allocations: 4.375 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2141, allocations: 61.88 kB / 0.6629 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2141, allocations: 4 kB / 0.6629 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2142, allocations: 0 / 0.6629 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2142, allocations: 0 / 0.6629 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.2142, allocations: 27.98 kB / 0.663 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.2147, allocations: 272.7 kB / 0.6632 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.523e-05/0.2148, allocations: 42.5 kB / 0.6633 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.2148, allocations: 20.98 kB / 0.6633 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2148, allocations: 4 kB / 0.6633 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.215, allocations: 101.1 kB / 0.6634 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.215, allocations: 0 / 0.6634 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002812/0.2153, allocations: 139.2 kB / 0.6635 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.2154, allocations: 81.11 kB / 0.6636 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.2155, allocations: 113.8 kB / 0.6637 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2155, allocations: 25.7 kB / 0.6637 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.2156, allocations: 84.14 kB / 0.6638 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.2156, allocations: 27.8 kB / 0.6638 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.2157, allocations: 25.72 kB / 0.6639 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2158, allocations: 326.8 kB / 0.6642 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.2158, allocations: 12 kB / 0.6642 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.2159, allocations: 42.5 kB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.216, allocations: 110 kB / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.216, allocations: 4 kB / 0.6643 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001476/0.2162, allocations: 119.2 kB / 0.6645 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.2162, allocations: 33.7 kB / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2162, allocations: 0 / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2162, allocations: 0 / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.2163, allocations: 19.86 kB / 0.6645 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2163, allocations: 0 / 0.6645 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.2164, allocations: 8.375 kB / 0.6645 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2164, allocations: 0 / 0.6645 GB, free: 5.684 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.0001296/0.2165, allocations: 159.5 kB / 0.6647 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.2165, allocations: 7.906 kB / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.2166, allocations: 16.31 kB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2166, allocations: 0 / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2166, allocations: 0 / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2166, allocations: 0 / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.217, allocations: 400.1 kB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.217, allocations: 0 / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-06/0.217, allocations: 3.984 kB / 0.6651 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.217, allocations: 4 kB / 0.6651 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.217, allocations: 4 kB / 0.6651 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.217, allocations: 0 / 0.6651 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.217, allocations: 3.938 kB / 0.6651 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.2173, allocations: 233.1 kB / 0.6653 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.2173, allocations: 81.09 kB / 0.6654 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.2173, allocations: 8.062 kB / 0.6654 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2174, allocations: 11.98 kB / 0.6654 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.2175, allocations: 15.92 kB / 0.6654 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2175, allocations: 4 kB / 0.6654 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.66e-05/0.2176, allocations: 87.83 kB / 0.6655 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.633e-06/0.2176, allocations: 0 / 0.6655 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002212/0.2178, allocations: 15.94 kB / 0.6655 GB, free: 4.527 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.0001076/0.2179, allocations: 105.6 kB / 0.6656 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.2181, allocations: 119.4 kB / 0.6657 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2181, allocations: 0 / 0.6657 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.2182, allocations: 91.62 kB / 0.6658 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.2185, allocations: 17.48 kB / 0.6658 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.2189, allocations: 187 kB / 0.666 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2192, allocations: 0.6846 MB / 0.6667 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.2192, allocations: 19.38 kB / 0.6667 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2192, allocations: 4.062 kB / 0.6667 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of Templates: time 0.002821/0.222, allocations: 0.8925 MB / 0.6676 GB, free: 2.332 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)