Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, 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/package.mo): time 0.7485/0.7485, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.657/1.657, allocations: 222.9 MB / 403.4 MB, free: 7.07 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.001105/0.001105, allocations: 106 kB / 484.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1894, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.004022/0.1935, allocations: 1.523 MB / 0.6416 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009739/0.1945, allocations: 451.8 kB / 0.6421 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.1946, allocations: 0 / 0.6421 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.1946, allocations: 7.938 kB / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.719e-05/0.1947, allocations: 0 / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.195, allocations: 19.92 kB / 0.6421 GB, free: 4.777 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1951, allocations: 47.84 kB / 0.6421 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1953, allocations: 15.98 kB / 0.6422 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.1953, allocations: 19.92 kB / 0.6422 GB, free: 4.695 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.1954, allocations: 23.92 kB / 0.6422 GB, free: 4.672 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1955, allocations: 4 kB / 0.6422 GB, free: 4.668 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.1955, allocations: 4 kB / 0.6422 GB, free: 4.664 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.1955, allocations: 15.92 kB / 0.6422 GB, free: 4.648 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.1956, allocations: 19.86 kB / 0.6422 GB, free: 4.629 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1957, allocations: 39.88 kB / 0.6423 GB, free: 4.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1958, allocations: 0 / 0.6423 GB, free: 4.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1958, allocations: 0 / 0.6423 GB, free: 4.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1958, allocations: 0 / 0.6423 GB, free: 4.59 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006669/0.1965, allocations: 367.6 kB / 0.6426 GB, free: 4.184 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1965, allocations: 8.031 kB / 0.6426 GB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.1966, allocations: 4.938 kB / 0.6426 GB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1968, allocations: 172.2 kB / 0.6428 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1968, allocations: 8.375 kB / 0.6428 GB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1968, allocations: 4.375 kB / 0.6428 GB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.197, allocations: 57.94 kB / 0.6429 GB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.197, allocations: 0 / 0.6429 GB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.197, allocations: 15.92 kB / 0.6429 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1971, allocations: 0 / 0.6429 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.1972, allocations: 23.98 kB / 0.6429 GB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.1978, allocations: 300.8 kB / 0.6432 GB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.198, allocations: 46.56 kB / 0.6432 GB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.539e-05/0.1981, allocations: 28.94 kB / 0.6433 GB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1981, allocations: 7.984 kB / 0.6433 GB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1983, allocations: 79.36 kB / 0.6434 GB, free: 3.324 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.1984, allocations: 0 / 0.6434 GB, free: 3.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003098/0.1987, allocations: 101.5 kB / 0.6435 GB, free: 3.219 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1987, allocations: 51.41 kB / 0.6435 GB, free: 3.156 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1989, allocations: 109.8 kB / 0.6436 GB, free: 3.039 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1989, allocations: 25.7 kB / 0.6436 GB, free: 3.008 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.199, allocations: 100 kB / 0.6437 GB, free: 2.906 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.199, allocations: 19.73 kB / 0.6437 GB, free: 2.887 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.1991, allocations: 25.72 kB / 0.6438 GB, free: 2.855 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1992, allocations: 322.8 kB / 0.6441 GB, free: 2.531 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/0.1993, allocations: 12 kB / 0.6441 GB, free: 2.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/0.1994, allocations: 47.42 kB / 0.6441 GB, free: 2.461 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1995, allocations: 75.36 kB / 0.6442 GB, free: 2.375 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1995, allocations: 0 / 0.6442 GB, free: 2.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002114/0.1998, allocations: 93.52 kB / 0.6443 GB, free: 2.277 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1998, allocations: 4 kB / 0.6443 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1998, allocations: 7.938 kB / 0.6443 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1998, allocations: 0 / 0.6443 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2, allocations: 12 kB / 0.6443 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2, allocations: 0 / 0.6443 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.2001, allocations: 16.02 kB / 0.6443 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2001, allocations: 0 / 0.6443 GB, free: 2.238 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001192/0.2002, allocations: 131 kB / 0.6445 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.2003, allocations: 7.906 kB / 0.6445 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.2003, allocations: 3.969 kB / 0.6445 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2003, allocations: 4 kB / 0.6445 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2003, allocations: 3.984 kB / 0.6445 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2003, allocations: 0 / 0.6445 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.2009, allocations: 362.8 kB / 0.6448 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2009, allocations: 0 / 0.6448 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.201, allocations: 4.094 kB / 0.6448 GB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.201, allocations: 4.219 kB / 0.6448 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.201, allocations: 4 kB / 0.6448 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.201, allocations: 3.938 kB / 0.6448 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.201, allocations: 0 / 0.6448 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.2017, allocations: 0.7551 MB / 0.6456 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.2017, allocations: 88.94 kB / 0.6457 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2018, allocations: 7.984 kB / 0.6457 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2019, allocations: 0 / 0.6457 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.202, allocations: 7.984 kB / 0.6457 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.202, allocations: 8 kB / 0.6457 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.202, allocations: 83.27 kB / 0.6458 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2021, allocations: 4 kB / 0.6458 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006146/0.2027, allocations: 16 kB / 0.6458 GB, free: 0.6133 MB / 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001202/0.2028, allocations: 92.5 kB / 0.6459 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.2031, allocations: 59.86 kB / 0.6459 GB, free: 464 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2031, allocations: 0 / 0.6459 GB, free: 464 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.2032, allocations: 23.98 kB / 0.646 GB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.2036, allocations: 16.7 kB / 0.646 GB, free: 424 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.2042, allocations: 298.1 kB / 0.6463 GB, free: 84 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.2045, allocations: 0.6855 MB / 0.6469 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.696e-05/0.2046, allocations: 7.984 kB / 0.6469 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.2046, allocations: 15.72 kB / 0.6469 GB, free: 15.35 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2046, allocations: 0 / 0.6469 GB, free: 15.35 MB / 458.7 MB Notification: Performance of Templates: time 0.003229/0.2079, allocations: 0.7245 MB / 0.6477 GB, free: 14.62 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)