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.0007415/0.0007415, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001107/0.001107, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 8 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3531, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001316/0.3545, allocations: 1.174 MB / 0.5842 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005512/0.3551, allocations: 427.8 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.3551, allocations: 1.125 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.3551, allocations: 4.734 kB / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.019e-05/0.3552, allocations: 6.5 kB / 0.5846 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.3553, allocations: 19.16 kB / 0.5847 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.3554, allocations: 40.69 kB / 0.5847 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.3555, allocations: 20.11 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.3556, allocations: 17.12 kB / 0.5847 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.3556, allocations: 18.84 kB / 0.5847 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3557, allocations: 1.75 kB / 0.5847 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.3557, allocations: 1.844 kB / 0.5847 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.3557, allocations: 12.77 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.3557, allocations: 30.97 kB / 0.5848 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.816e-05/0.3558, allocations: 28.11 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3558, allocations: 0.625 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3558, allocations: 0 / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.3559, allocations: 4.75 kB / 0.5848 GB, free: 2.703 MB / 430.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.0004695/0.3563, allocations: 354.2 kB / 0.5852 GB, free: 2.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3564, allocations: 8.906 kB / 0.5852 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.3564, allocations: 7.625 kB / 0.5852 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3565, allocations: 174.5 kB / 0.5853 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3566, allocations: 3.766 kB / 0.5853 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.3566, allocations: 7.969 kB / 0.5854 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3567, allocations: 53.88 kB / 0.5854 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3567, allocations: 0 / 0.5854 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3567, allocations: 8.625 kB / 0.5854 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3568, allocations: 2.062 kB / 0.5854 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-05/0.3568, allocations: 25.61 kB / 0.5854 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.3573, allocations: 317.3 kB / 0.5857 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/0.3574, allocations: 56.34 kB / 0.5858 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.979e-05/0.3574, allocations: 22.48 kB / 0.5858 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.3574, allocations: 5.531 kB / 0.5858 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.3576, allocations: 74.34 kB / 0.5859 GB, free: 1.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3576, allocations: 0 / 0.5859 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001997/0.3578, allocations: 106.8 kB / 0.586 GB, free: 1.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.3578, allocations: 59.33 kB / 0.5861 GB, free: 1.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.3579, allocations: 102.9 kB / 0.5861 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.3579, allocations: 27.14 kB / 0.5862 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.3579, allocations: 87.17 kB / 0.5863 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.3579, allocations: 20.58 kB / 0.5863 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.358, allocations: 5.406 kB / 0.5863 GB, free: 1.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.358, allocations: 321.8 kB / 0.5866 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.358, allocations: 15.45 kB / 0.5866 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.3581, allocations: 43.88 kB / 0.5866 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.3581, allocations: 23.94 kB / 0.5867 GB, free: 0.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3581, allocations: 0.7812 kB / 0.5867 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001299/0.3583, allocations: 93.66 kB / 0.5868 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3583, allocations: 9.875 kB / 0.5868 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3583, allocations: 0 / 0.5868 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3583, allocations: 6.312 kB / 0.5868 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.3584, allocations: 13.58 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3584, allocations: 1.562 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.3585, allocations: 16.73 kB / 0.5868 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3585, allocations: 3.5 kB / 0.5868 GB, free: 0.8438 MB / 430.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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.3585, allocations: 115 kB / 0.5869 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.3586, allocations: 11.06 kB / 0.5869 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.3586, allocations: 9.562 kB / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3586, allocations: 6.297 kB / 0.5869 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3586, allocations: 3.953 kB / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3586, allocations: 1.969 kB / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.3589, allocations: 359.2 kB / 0.5873 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3589, allocations: 4 kB / 0.5873 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.359, allocations: 4.469 kB / 0.5873 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.359, allocations: 1.562 kB / 0.5873 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.359, allocations: 10.17 kB / 0.5873 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.359, allocations: 0.6094 kB / 0.5873 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.359, allocations: 0 / 0.5873 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.3591, allocations: 182.1 kB / 0.5875 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.3592, allocations: 83.75 kB / 0.5876 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3592, allocations: 5.484 kB / 0.5876 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.3593, allocations: 11.47 kB / 0.5876 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.3593, allocations: 8.719 kB / 0.5876 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3593, allocations: 5.812 kB / 0.5876 GB, free: 100 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.302e-05/0.3594, allocations: 84.61 kB / 0.5877 GB, free: 20 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3594, allocations: 0.9375 kB / 0.5877 GB, free: 20 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.3596, allocations: 15.98 kB / 0.5877 GB, free: 16 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000107/0.3597, allocations: 102.3 kB / 0.5878 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.3599, allocations: 52.3 kB / 0.5878 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3599, allocations: 0.6875 kB / 0.5878 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.3599, allocations: 22.66 kB / 0.5879 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.3602, allocations: 15.42 kB / 0.5879 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.3606, allocations: 182.1 kB / 0.5881 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.3608, allocations: 0.6857 MB / 0.5887 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.845e-05/0.3608, allocations: 4.984 kB / 0.5887 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.3609, allocations: 12.67 kB / 0.5887 GB, free: 15.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3609, allocations: 0 / 0.5887 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Templates: time 0.002615/0.3635, allocations: 0.6567 MB / 0.5894 GB, free: 14.97 MB / 446.1 MB 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)