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.001532/0.001532, allocations: 101.8 kB / 16.27 MB, free: 5.965 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.001487/0.001487, allocations: 188.3 kB / 17.2 MB, free: 5.59 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8154/0.8154, allocations: 135.2 MB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3345, allocations: 80.91 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002261/0.3368, allocations: 1.472 MB / 0.5865 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005814/0.3374, allocations: 440.7 kB / 0.5869 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.3375, allocations: 1.969 kB / 0.5869 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.3375, allocations: 3.984 kB / 0.5869 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.3376, allocations: 10.53 kB / 0.5869 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.3377, allocations: 19.86 kB / 0.5869 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.3378, allocations: 61.02 kB / 0.587 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.3379, allocations: 12.25 kB / 0.587 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.338, allocations: 19.64 kB / 0.587 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.338, allocations: 25.44 kB / 0.5871 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.338, allocations: 4.75 kB / 0.5871 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.338, allocations: 4.562 kB / 0.5871 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.3381, allocations: 5.5 kB / 0.5871 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.3381, allocations: 31.91 kB / 0.5871 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.375e-05/0.3382, allocations: 36.17 kB / 0.5871 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3382, allocations: 0 / 0.5871 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3382, allocations: 0 / 0.5871 GB, free: 23.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3382, allocations: 0 / 0.5871 GB, free: 23.66 MB / 446.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.0004295/0.3387, allocations: 370.5 kB / 0.5875 GB, free: 23.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3387, allocations: 10.55 kB / 0.5875 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.3388, allocations: 8.219 kB / 0.5875 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.225e-05/0.3388, allocations: 175 kB / 0.5877 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3389, allocations: 3.906 kB / 0.5877 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3389, allocations: 8.031 kB / 0.5877 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.339, allocations: 60.8 kB / 0.5877 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.339, allocations: 5.594 kB / 0.5877 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.339, allocations: 4.5 kB / 0.5877 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.339, allocations: 6.969 kB / 0.5878 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.3391, allocations: 21.92 kB / 0.5878 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.3395, allocations: 304.1 kB / 0.5881 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.3396, allocations: 53.19 kB / 0.5881 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.3396, allocations: 33.66 kB / 0.5881 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.3396, allocations: 0 / 0.5881 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.3398, allocations: 77.14 kB / 0.5882 GB, free: 22.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3398, allocations: 1.531 kB / 0.5882 GB, free: 22.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001952/0.34, allocations: 97.69 kB / 0.5883 GB, free: 22.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.34, allocations: 64.02 kB / 0.5884 GB, free: 22.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/0.3401, allocations: 104.5 kB / 0.5885 GB, free: 22.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.3401, allocations: 26.98 kB / 0.5885 GB, free: 22.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.3401, allocations: 93.22 kB / 0.5886 GB, free: 22.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.3402, allocations: 16.5 kB / 0.5886 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.3402, allocations: 27.17 kB / 0.5886 GB, free: 22.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.3403, allocations: 320.1 kB / 0.5889 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.3403, allocations: 17.7 kB / 0.589 GB, free: 21.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.3403, allocations: 50.58 kB / 0.589 GB, free: 21.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/0.3404, allocations: 63.84 kB / 0.5891 GB, free: 21.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3404, allocations: 1.656 kB / 0.5891 GB, free: 21.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001149/0.3405, allocations: 98.27 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3406, allocations: 5.5 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3406, allocations: 5.969 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3406, allocations: 2.219 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.3407, allocations: 12.16 kB / 0.5892 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3407, allocations: 7.609 kB / 0.5892 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.3407, allocations: 9.062 kB / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3407, allocations: 3 kB / 0.5892 GB, free: 21.64 MB / 446.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 5.638e-05/0.3408, allocations: 127.4 kB / 0.5893 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.3408, allocations: 13.28 kB / 0.5893 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.3408, allocations: 11.95 kB / 0.5893 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3409, allocations: 2.594 kB / 0.5894 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3409, allocations: 0 / 0.5894 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3409, allocations: 0 / 0.5894 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.3412, allocations: 360.9 kB / 0.5897 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3412, allocations: 0 / 0.5897 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.3412, allocations: 4.031 kB / 0.5897 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3412, allocations: 1.125 kB / 0.5897 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3412, allocations: 2.875 kB / 0.5897 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3412, allocations: 7.984 kB / 0.5897 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3412, allocations: 4 kB / 0.5897 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.3413, allocations: 182.7 kB / 0.5899 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.3414, allocations: 82.41 kB / 0.59 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3414, allocations: 1.562 kB / 0.59 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.3415, allocations: 6.844 kB / 0.59 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.3415, allocations: 12.77 kB / 0.59 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3415, allocations: 4.656 kB / 0.59 GB, free: 20.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.47e-05/0.3416, allocations: 86.89 kB / 0.5901 GB, free: 20.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3416, allocations: 0 / 0.5901 GB, free: 20.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.3418, allocations: 12.12 kB / 0.5901 GB, free: 20.79 MB / 446.1 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 7.531e-05/0.3419, allocations: 103.6 kB / 0.5902 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.342, allocations: 60.8 kB / 0.5902 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.342, allocations: 0.7188 kB / 0.5902 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.3421, allocations: 25.64 kB / 0.5903 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3423, allocations: 16.42 kB / 0.5903 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.3426, allocations: 169.6 kB / 0.5904 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3427, allocations: 0.6869 MB / 0.5911 GB, free: 19.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.3427, allocations: 12.44 kB / 0.5911 GB, free: 19.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3427, allocations: 0.9375 kB / 0.5911 GB, free: 19.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002069/0.3448, allocations: 0.8612 MB / 0.592 GB, free: 19.09 MB / 446.1 MB 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)