Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001086/0.001086, allocations: 106.7 kB / 16.37 MB, free: 6.012 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.001135/0.001135, allocations: 195.5 kB / 17.31 MB, free: 5.613 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.313/1.313, 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.7776/0.7776, allocations: 132.2 MB / 423.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3342, allocations: 80.2 MB / 0.5815 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002632/0.3368, allocations: 1.469 MB / 0.5829 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005379/0.3374, allocations: 457.5 kB / 0.5834 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.3374, allocations: 1.312 kB / 0.5834 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.3375, allocations: 4.969 kB / 0.5834 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.3376, allocations: 5.406 kB / 0.5834 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.3377, allocations: 30.19 kB / 0.5834 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.3378, allocations: 44.45 kB / 0.5834 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3379, allocations: 18.19 kB / 0.5835 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.3379, allocations: 18.83 kB / 0.5835 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.338, allocations: 25.02 kB / 0.5835 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.338, allocations: 6.781 kB / 0.5835 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.338, allocations: 5.094 kB / 0.5835 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.338, allocations: 17.23 kB / 0.5835 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.3381, allocations: 18.66 kB / 0.5836 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.09e-05/0.3382, allocations: 46.92 kB / 0.5836 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3382, allocations: 1.469 kB / 0.5836 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3382, allocations: 0 / 0.5836 GB, free: 26.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3382, allocations: 0.5938 kB / 0.5836 GB, free: 26.21 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.000392/0.3386, allocations: 365.2 kB / 0.5839 GB, free: 25.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3386, allocations: 8.938 kB / 0.584 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.3387, allocations: 3.969 kB / 0.584 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.3388, allocations: 167 kB / 0.5841 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3388, allocations: 4.375 kB / 0.5841 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3388, allocations: 4.5 kB / 0.5841 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.3389, allocations: 63.58 kB / 0.5842 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.3389, allocations: 1.469 kB / 0.5842 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3389, allocations: 4.594 kB / 0.5842 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3389, allocations: 5.375 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.339, allocations: 23.14 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3394, allocations: 310.5 kB / 0.5845 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.3395, allocations: 55.5 kB / 0.5846 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.3395, allocations: 25.03 kB / 0.5846 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.3395, allocations: 5.297 kB / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.3397, allocations: 71.92 kB / 0.5847 GB, free: 25.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3397, allocations: 1.469 kB / 0.5847 GB, free: 25.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002069/0.3399, allocations: 106.3 kB / 0.5848 GB, free: 25.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.3399, allocations: 54.09 kB / 0.5848 GB, free: 24.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/0.34, allocations: 108.3 kB / 0.5849 GB, free: 24.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.34, allocations: 28.39 kB / 0.585 GB, free: 24.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.34, allocations: 93.12 kB / 0.585 GB, free: 24.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.3401, allocations: 15.44 kB / 0.5851 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3401, allocations: 31.02 kB / 0.5851 GB, free: 24.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.779e-05/0.3401, allocations: 325.3 kB / 0.5854 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.3402, allocations: 13.5 kB / 0.5854 GB, free: 24.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.552e-05/0.3402, allocations: 47.23 kB / 0.5855 GB, free: 24.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.3403, allocations: 68.14 kB / 0.5855 GB, free: 24.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3403, allocations: 0 / 0.5855 GB, free: 24.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00012/0.3404, allocations: 99.44 kB / 0.5856 GB, free: 24.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3405, allocations: 5.875 kB / 0.5856 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3405, allocations: 4.891 kB / 0.5856 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3405, allocations: 2.188 kB / 0.5856 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.3406, allocations: 8.688 kB / 0.5856 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3406, allocations: 3.312 kB / 0.5856 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.3406, allocations: 8.422 kB / 0.5856 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3406, allocations: 3.344 kB / 0.5856 GB, free: 24.21 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.472e-05/0.3407, allocations: 130.7 kB / 0.5858 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.3407, allocations: 7.5 kB / 0.5858 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.3408, allocations: 9.25 kB / 0.5858 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3408, allocations: 1 kB / 0.5858 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3408, allocations: 1.562 kB / 0.5858 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3408, allocations: 0 / 0.5858 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.3411, allocations: 361.4 kB / 0.5861 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3411, allocations: 4 kB / 0.5861 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.3411, allocations: 4 kB / 0.5861 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3411, allocations: 1.5 kB / 0.5861 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3411, allocations: 3.312 kB / 0.5861 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3411, allocations: 5.125 kB / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3412, allocations: 480 / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.3413, allocations: 192.5 kB / 0.5863 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.3413, allocations: 78.52 kB / 0.5864 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3413, allocations: 1.312 kB / 0.5864 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.3414, allocations: 10.98 kB / 0.5864 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3415, allocations: 18.67 kB / 0.5864 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.3415, allocations: 3 kB / 0.5864 GB, free: 23.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.248e-05/0.3415, allocations: 82.53 kB / 0.5865 GB, free: 23.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3415, allocations: 0 / 0.5865 GB, free: 23.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.3417, allocations: 15.47 kB / 0.5865 GB, free: 23.34 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 6.976e-05/0.3418, allocations: 103.2 kB / 0.5866 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.3419, allocations: 53.44 kB / 0.5867 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3419, allocations: 0.7812 kB / 0.5867 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.744e-05/0.342, allocations: 29.41 kB / 0.5867 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3423, allocations: 12.78 kB / 0.5867 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.3425, allocations: 144.2 kB / 0.5869 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.052e-05/0.3426, allocations: 0.6833 MB / 0.5875 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.56e-05/0.3426, allocations: 8.859 kB / 0.5875 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3427, allocations: 11.16 kB / 0.5876 GB, free: 22.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3427, allocations: 1.438 kB / 0.5876 GB, free: 22.37 MB / 446.1 MB Notification: Performance of Templates: time 0.002492/0.3452, allocations: 0.7723 MB / 0.5883 GB, free: 22.01 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)