Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006963/0.006963, allocations: 100.8 kB / 15.87 MB, free: 6.332 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.001317/0.001317, allocations: 198.9 kB / 16.79 MB, free: 6.258 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9966/0.9966, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.44 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1884, allocations: 80.94 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002841/0.1913, allocations: 1.508 MB / 0.5858 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006849/0.192, allocations: 439 kB / 0.5862 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.1921, allocations: 4 kB / 0.5862 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.43e-05/0.1921, allocations: 3.938 kB / 0.5862 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.1922, allocations: 0 / 0.5862 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.1924, allocations: 19.92 kB / 0.5863 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.1925, allocations: 47.91 kB / 0.5863 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1926, allocations: 15.98 kB / 0.5863 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.1926, allocations: 23.86 kB / 0.5863 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.1927, allocations: 27.86 kB / 0.5864 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1927, allocations: 0 / 0.5864 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.1928, allocations: 4 kB / 0.5864 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.1928, allocations: 15.92 kB / 0.5864 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1928, allocations: 19.91 kB / 0.5864 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.086e-05/0.1929, allocations: 27.95 kB / 0.5864 GB, free: 2.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1929, allocations: 0 / 0.5864 GB, free: 2.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1929, allocations: 0 / 0.5864 GB, free: 2.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1929, allocations: 0 / 0.5864 GB, free: 2.824 MB / 494.1 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.0005543/0.1935, allocations: 363.7 kB / 0.5868 GB, free: 2.422 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1936, allocations: 8.031 kB / 0.5868 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1936, allocations: 12.83 kB / 0.5868 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1937, allocations: 168.3 kB / 0.587 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1938, allocations: 4.312 kB / 0.587 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1938, allocations: 8.375 kB / 0.587 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1939, allocations: 65.92 kB / 0.587 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1939, allocations: 0 / 0.587 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.194, allocations: 0 / 0.587 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.194, allocations: 0 / 0.587 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.61e-05/0.194, allocations: 31.98 kB / 0.5871 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.1946, allocations: 300.7 kB / 0.5874 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1947, allocations: 54.56 kB / 0.5874 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.1947, allocations: 32.94 kB / 0.5874 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1948, allocations: 0 / 0.5874 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.1949, allocations: 75.41 kB / 0.5875 GB, free: 1.559 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.195, allocations: 0 / 0.5875 GB, free: 1.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002349/0.1952, allocations: 101.5 kB / 0.5876 GB, free: 1.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1952, allocations: 59.39 kB / 0.5877 GB, free: 1.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.1953, allocations: 97.86 kB / 0.5878 GB, free: 1.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1954, allocations: 37.7 kB / 0.5878 GB, free: 1.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1954, allocations: 88.03 kB / 0.5879 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1954, allocations: 23.73 kB / 0.5879 GB, free: 1.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.1955, allocations: 29.7 kB / 0.5879 GB, free: 1.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1956, allocations: 318.8 kB / 0.5882 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.11e-05/0.1957, allocations: 19.98 kB / 0.5882 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.1957, allocations: 43.42 kB / 0.5883 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.1958, allocations: 67.38 kB / 0.5884 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1958, allocations: 0 / 0.5884 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.196, allocations: 101.6 kB / 0.5884 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.196, allocations: 8 kB / 0.5885 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.196, allocations: 0 / 0.5885 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.196, allocations: 0 / 0.5885 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.1961, allocations: 15.92 kB / 0.5885 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1961, allocations: 4.031 kB / 0.5885 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.1962, allocations: 12 kB / 0.5885 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.1962, allocations: 7.984 kB / 0.5885 GB, free: 472 kB / 494.1 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 8.603e-05/0.1963, allocations: 122.3 kB / 0.5886 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1963, allocations: 11.89 kB / 0.5886 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.1964, allocations: 7.969 kB / 0.5886 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1964, allocations: 0 / 0.5886 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1964, allocations: 0 / 0.5886 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1964, allocations: 0 / 0.5886 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.1968, allocations: 358.5 kB / 0.589 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1968, allocations: 64 / 0.589 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.1968, allocations: 8 kB / 0.589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1968, allocations: 0 / 0.589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1969, allocations: 7.984 kB / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1969, allocations: 3.938 kB / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1969, allocations: 480 / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.197, allocations: 187.3 kB / 0.5892 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1971, allocations: 89.03 kB / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1971, allocations: 4 kB / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.1972, allocations: 7.938 kB / 0.5893 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.1973, allocations: 7.984 kB / 0.5893 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1973, allocations: 4 kB / 0.5893 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.1973, allocations: 87.27 kB / 0.5894 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1973, allocations: 3.938 kB / 0.5894 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002564/0.1976, allocations: 16 kB / 0.5894 GB, free: 15.45 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 9.629e-05/0.1977, allocations: 95.25 kB / 0.5895 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.1978, allocations: 51.92 kB / 0.5895 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1979, allocations: 0 / 0.5895 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.1979, allocations: 31.92 kB / 0.5896 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1982, allocations: 14.17 kB / 0.5896 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.1986, allocations: 204.9 kB / 0.5898 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1989, allocations: 0.6848 MB / 0.5904 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.1989, allocations: 11.44 kB / 0.5904 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1989, allocations: 0 / 0.5904 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.002229/0.2012, allocations: 0.8555 MB / 0.5913 GB, free: 13.45 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)