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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001258/0.001258, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.439/1.439, 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.7917/0.7917, allocations: 132.2 MB / 423.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 62.41 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1902, allocations: 80.22 MB / 0.6603 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003461/0.1937, allocations: 1.464 MB / 0.6617 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008127/0.1946, allocations: 446.9 kB / 0.6622 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.1946, allocations: 4 kB / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.1947, allocations: 3.984 kB / 0.6622 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.1948, allocations: 7.875 kB / 0.6622 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.195, allocations: 19.97 kB / 0.6622 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1951, allocations: 51.84 kB / 0.6622 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1952, allocations: 15.98 kB / 0.6623 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.1953, allocations: 15.94 kB / 0.6623 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.1954, allocations: 27.91 kB / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1954, allocations: 4 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.1954, allocations: 4 kB / 0.6623 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.1955, allocations: 19.91 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.1955, allocations: 19.94 kB / 0.6623 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.1957, allocations: 51.69 kB / 0.6624 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1957, allocations: 0 / 0.6624 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1957, allocations: 0 / 0.6624 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.1957, allocations: 0 / 0.6624 GB, free: 8.176 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006479/0.1963, allocations: 359.5 kB / 0.6627 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1964, allocations: 8.031 kB / 0.6627 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1964, allocations: 8.844 kB / 0.6627 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.1966, allocations: 164.3 kB / 0.6629 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1966, allocations: 8.375 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1967, allocations: 4.375 kB / 0.6629 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1968, allocations: 65.91 kB / 0.663 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1968, allocations: 0 / 0.663 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1968, allocations: 4 kB / 0.663 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1969, allocations: 4 kB / 0.663 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.1969, allocations: 23.98 kB / 0.663 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.1975, allocations: 304.6 kB / 0.6633 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1976, allocations: 54.56 kB / 0.6634 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.1977, allocations: 24.95 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.1977, allocations: 4 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.1979, allocations: 83.34 kB / 0.6635 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1979, allocations: 0 / 0.6635 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002404/0.1982, allocations: 97.61 kB / 0.6636 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.1982, allocations: 51.41 kB / 0.6636 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.1983, allocations: 109.8 kB / 0.6637 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1983, allocations: 29.7 kB / 0.6637 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1984, allocations: 88.14 kB / 0.6638 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1984, allocations: 19.66 kB / 0.6638 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1985, allocations: 37.64 kB / 0.6639 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1986, allocations: 318.8 kB / 0.6642 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.1987, allocations: 15.98 kB / 0.6642 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1987, allocations: 47.42 kB / 0.6642 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.065e-05/0.1988, allocations: 67.38 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1989, allocations: 3.984 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001356/0.199, allocations: 85.69 kB / 0.6644 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.199, allocations: 4 kB / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.199, allocations: 8 kB / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.199, allocations: 0 / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.1991, allocations: 15.92 kB / 0.6644 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1991, allocations: 0 / 0.6644 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.1992, allocations: 19.94 kB / 0.6644 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1992, allocations: 0 / 0.6644 GB, free: 5.832 MB / 0.4981 GB 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.0001004/0.1993, allocations: 130 kB / 0.6646 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1994, allocations: 0 / 0.6646 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.1994, allocations: 11.91 kB / 0.6646 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1994, allocations: 4 kB / 0.6646 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1994, allocations: 0 / 0.6646 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1994, allocations: 0 / 0.6646 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1998, allocations: 370.6 kB / 0.6649 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1998, allocations: 0 / 0.6649 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.1999, allocations: 11.98 kB / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1999, allocations: 0 / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1999, allocations: 4 kB / 0.6649 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1999, allocations: 3.938 kB / 0.6649 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1999, allocations: 0 / 0.6649 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.2001, allocations: 183.5 kB / 0.6651 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.2001, allocations: 81.02 kB / 0.6652 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.2002, allocations: 4 kB / 0.6652 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.2003, allocations: 11.86 kB / 0.6652 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.2003, allocations: 8 kB / 0.6652 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2003, allocations: 4 kB / 0.6652 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.2004, allocations: 83.27 kB / 0.6653 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2004, allocations: 0 / 0.6653 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002315/0.2006, allocations: 16 kB / 0.6653 GB, free: 4.816 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: 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.0001026/0.2007, allocations: 99.19 kB / 0.6654 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.2009, allocations: 59.91 kB / 0.6655 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2009, allocations: 0 / 0.6655 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.584e-05/0.201, allocations: 20 kB / 0.6655 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2013, allocations: 13.7 kB / 0.6655 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.2018, allocations: 191.5 kB / 0.6657 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.2021, allocations: 0.6923 MB / 0.6664 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.2022, allocations: 15.38 kB / 0.6664 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2022, allocations: 4 kB / 0.6664 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.00266/0.2048, allocations: 0.8671 MB / 0.6672 GB, free: 2.797 MB / 0.4981 GB 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)