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.001529/0.001529, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001649/0.001649, allocations: 191 kB / 17.29 MB, free: 5.516 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7613/0.7613, allocations: 132.2 MB / 423.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 55.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.355, allocations: 80.18 MB / 0.5815 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002714/0.3577, allocations: 1.464 MB / 0.5829 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005816/0.3583, allocations: 449.7 kB / 0.5833 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.3584, allocations: 1.688 kB / 0.5833 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.3584, allocations: 3.938 kB / 0.5833 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.3585, allocations: 14.55 kB / 0.5833 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.3587, allocations: 23.94 kB / 0.5834 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.184e-05/0.3588, allocations: 52.3 kB / 0.5834 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3589, allocations: 14.98 kB / 0.5834 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.3589, allocations: 28.59 kB / 0.5835 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.359, allocations: 17.05 kB / 0.5835 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.359, allocations: 5.125 kB / 0.5835 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.359, allocations: 5.094 kB / 0.5835 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.3591, allocations: 9.891 kB / 0.5835 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.3591, allocations: 22.28 kB / 0.5835 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.612e-05/0.3592, allocations: 43.95 kB / 0.5836 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3592, allocations: 3.938 kB / 0.5836 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3592, allocations: 1.938 kB / 0.5836 GB, free: 26.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3592, allocations: 0 / 0.5836 GB, free: 26.18 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.000412/0.3596, allocations: 364.3 kB / 0.5839 GB, free: 25.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3597, allocations: 9.906 kB / 0.5839 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.3597, allocations: 8.031 kB / 0.5839 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.793e-05/0.3598, allocations: 167.3 kB / 0.5841 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3598, allocations: 9.812 kB / 0.5841 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3599, allocations: 7.703 kB / 0.5841 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.36, allocations: 63.84 kB / 0.5842 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.36, allocations: 0 / 0.5842 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.36, allocations: 5.594 kB / 0.5842 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.36, allocations: 1.062 kB / 0.5842 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.938e-05/0.3601, allocations: 22.58 kB / 0.5842 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.3604, allocations: 306.7 kB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.3605, allocations: 58.03 kB / 0.5845 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.3606, allocations: 28.98 kB / 0.5846 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.3606, allocations: 1.219 kB / 0.5846 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.3607, allocations: 73.7 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3607, allocations: 0 / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001949/0.3609, allocations: 102.5 kB / 0.5847 GB, free: 25.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.361, allocations: 58.31 kB / 0.5848 GB, free: 24.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/0.361, allocations: 103.9 kB / 0.5849 GB, free: 24.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.361, allocations: 30.17 kB / 0.5849 GB, free: 24.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.3611, allocations: 89.17 kB / 0.585 GB, free: 24.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.3611, allocations: 23.12 kB / 0.585 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.3611, allocations: 26.59 kB / 0.5851 GB, free: 24.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.3612, allocations: 321.5 kB / 0.5854 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.3612, allocations: 13.97 kB / 0.5854 GB, free: 24.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.664e-05/0.3613, allocations: 49.25 kB / 0.5854 GB, free: 24.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.3614, allocations: 68.95 kB / 0.5855 GB, free: 24.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3614, allocations: 0 / 0.5855 GB, free: 24.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001241/0.3615, allocations: 94.47 kB / 0.5856 GB, free: 24.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3615, allocations: 10.64 kB / 0.5856 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3615, allocations: 1.344 kB / 0.5856 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3616, allocations: 2.031 kB / 0.5856 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.3616, allocations: 19.81 kB / 0.5856 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3616, allocations: 1.094 kB / 0.5856 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.3617, allocations: 13.05 kB / 0.5856 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.3617, allocations: 2.531 kB / 0.5856 GB, free: 24.17 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.753e-05/0.3618, allocations: 127.7 kB / 0.5857 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.3618, allocations: 6.5 kB / 0.5858 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.3618, allocations: 14.09 kB / 0.5858 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3618, allocations: 1.344 kB / 0.5858 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3618, allocations: 0 / 0.5858 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3619, allocations: 4.438 kB / 0.5858 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.3621, allocations: 356.5 kB / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3622, allocations: 1.125 kB / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.3622, allocations: 5.625 kB / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3622, allocations: 1.375 kB / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3622, allocations: 0 / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3622, allocations: 5.031 kB / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3622, allocations: 0 / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.3623, allocations: 189.7 kB / 0.5863 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.3624, allocations: 78.33 kB / 0.5864 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3624, allocations: 1.281 kB / 0.5864 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.3625, allocations: 15.58 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.3625, allocations: 9.703 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3625, allocations: 2.938 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.241e-05/0.3626, allocations: 84.53 kB / 0.5865 GB, free: 23.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3626, allocations: 0 / 0.5865 GB, free: 23.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.3628, allocations: 15.72 kB / 0.5865 GB, free: 23.3 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.228e-05/0.3629, allocations: 97.59 kB / 0.5866 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.363, allocations: 57.47 kB / 0.5867 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.363, allocations: 1.594 kB / 0.5867 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.3631, allocations: 29 kB / 0.5867 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3633, allocations: 11.36 kB / 0.5867 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.3637, allocations: 165.8 kB / 0.5869 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3638, allocations: 0.6877 MB / 0.5875 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.465e-05/0.3638, allocations: 3.875 kB / 0.5875 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.3639, allocations: 13.91 kB / 0.5875 GB, free: 22.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3639, allocations: 0 / 0.5875 GB, free: 22.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002674/0.3666, allocations: 0.7788 MB / 0.5883 GB, free: 21.95 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)