Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006344/0.006344, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.001221/0.001221, allocations: 195.2 kB / 16.79 MB, free: 5.816 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9999/0.9999, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.5 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.184, allocations: 80.92 MB / 0.5843 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003134/0.1872, allocations: 1.535 MB / 0.5858 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.1879, allocations: 435 kB / 0.5862 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.188, allocations: 0 / 0.5862 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.962e-05/0.188, allocations: 7.922 kB / 0.5863 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.754e-05/0.1881, allocations: 7.938 kB / 0.5863 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1883, allocations: 19.98 kB / 0.5863 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.1884, allocations: 43.92 kB / 0.5863 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1885, allocations: 15.92 kB / 0.5863 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.35e-05/0.1886, allocations: 27.84 kB / 0.5864 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.1886, allocations: 19.92 kB / 0.5864 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1887, allocations: 4 kB / 0.5864 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.1887, allocations: 4 kB / 0.5864 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.1887, allocations: 7.922 kB / 0.5864 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1888, allocations: 23.94 kB / 0.5864 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.972e-05/0.1888, allocations: 23.95 kB / 0.5864 GB, free: 2.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1889, allocations: 0 / 0.5864 GB, free: 2.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1889, allocations: 0 / 0.5864 GB, free: 2.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1889, allocations: 0 / 0.5864 GB, free: 2.84 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.0005499/0.1894, allocations: 361.9 kB / 0.5868 GB, free: 2.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1895, allocations: 12.03 kB / 0.5868 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.1895, allocations: 8.844 kB / 0.5868 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1897, allocations: 176.2 kB / 0.587 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1897, allocations: 8.375 kB / 0.587 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.1897, allocations: 12.31 kB / 0.587 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1898, allocations: 54 kB / 0.587 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1899, allocations: 0 / 0.587 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1899, allocations: 3.984 kB / 0.5871 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1899, allocations: 4 kB / 0.5871 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.19, allocations: 19.98 kB / 0.5871 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.1905, allocations: 304.7 kB / 0.5874 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1906, allocations: 54.56 kB / 0.5874 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.1906, allocations: 24.94 kB / 0.5874 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.1907, allocations: 0 / 0.5874 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.1909, allocations: 79.42 kB / 0.5875 GB, free: 1.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.795e-06/0.1909, allocations: 3.984 kB / 0.5875 GB, free: 1.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002337/0.1911, allocations: 105.5 kB / 0.5876 GB, free: 1.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1912, allocations: 55.41 kB / 0.5877 GB, free: 1.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.1912, allocations: 105.8 kB / 0.5878 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1913, allocations: 25.7 kB / 0.5878 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.1913, allocations: 92.05 kB / 0.5879 GB, free: 1.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1913, allocations: 23.72 kB / 0.5879 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.1914, allocations: 33.72 kB / 0.5879 GB, free: 1.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1915, allocations: 318.8 kB / 0.5882 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.1916, allocations: 16 kB / 0.5883 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.1916, allocations: 43.42 kB / 0.5883 GB, free: 0.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.1917, allocations: 71.36 kB / 0.5884 GB, free: 0.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1917, allocations: 8 kB / 0.5884 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001337/0.1919, allocations: 101.5 kB / 0.5885 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1919, allocations: 4 kB / 0.5885 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1919, allocations: 4 kB / 0.5885 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1919, allocations: 3.938 kB / 0.5885 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.192, allocations: 8 kB / 0.5885 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.192, allocations: 0 / 0.5885 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.1921, allocations: 7.984 kB / 0.5885 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1921, allocations: 8 kB / 0.5885 GB, free: 488 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 9.881e-05/0.1922, allocations: 130.4 kB / 0.5886 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.1922, allocations: 3.906 kB / 0.5886 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.1923, allocations: 7.969 kB / 0.5886 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1923, allocations: 7.984 kB / 0.5887 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1923, allocations: 0 / 0.5887 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1923, allocations: 0 / 0.5887 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.1927, allocations: 350.5 kB / 0.589 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1927, allocations: 4 kB / 0.589 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.1927, allocations: 4 kB / 0.589 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1927, allocations: 0 / 0.589 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1928, allocations: 4.469 kB / 0.589 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1928, allocations: 3.938 kB / 0.589 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1928, allocations: 0 / 0.589 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1929, allocations: 187.6 kB / 0.5892 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.193, allocations: 81.05 kB / 0.5893 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.193, allocations: 11.98 kB / 0.5893 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.1931, allocations: 11.92 kB / 0.5893 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.1932, allocations: 11.92 kB / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1932, allocations: 4 kB / 0.5893 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.1932, allocations: 83.28 kB / 0.5894 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1932, allocations: 0 / 0.5894 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002229/0.1935, allocations: 15.98 kB / 0.5894 GB, free: 15.46 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.497e-05/0.1936, allocations: 100.4 kB / 0.5895 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1937, allocations: 51.92 kB / 0.5895 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1937, allocations: 0 / 0.5895 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.1938, allocations: 31.92 kB / 0.5896 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.194, allocations: 8 kB / 0.5896 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.1944, allocations: 188.8 kB / 0.5898 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1947, allocations: 0.6927 MB / 0.5904 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.1947, allocations: 11.44 kB / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1947, allocations: 0 / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.002334/0.197, allocations: 0.8584 MB / 0.5913 GB, free: 13.48 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)