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.001122/0.001122, allocations: 100.9 kB / 16.35 MB, free: 6.285 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: 196.2 kB / 17.29 MB, free: 5.863 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8742/0.8742, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.424, allocations: 80.18 MB / 0.5815 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003507/0.4276, allocations: 1.459 MB / 0.5829 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.4283, allocations: 453.5 kB / 0.5833 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.4284, allocations: 3.75 kB / 0.5833 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.4284, allocations: 3.938 kB / 0.5833 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.4285, allocations: 9.375 kB / 0.5833 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.4287, allocations: 22.81 kB / 0.5834 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.213e-05/0.4288, allocations: 57.08 kB / 0.5834 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.4289, allocations: 11.41 kB / 0.5834 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.738e-05/0.429, allocations: 22.3 kB / 0.5835 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.4291, allocations: 19.2 kB / 0.5835 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.4291, allocations: 4.844 kB / 0.5835 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.4291, allocations: 4.938 kB / 0.5835 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.4291, allocations: 9.266 kB / 0.5835 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.4292, allocations: 31.53 kB / 0.5835 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.4293, allocations: 43.33 kB / 0.5836 GB, free: 25.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4293, allocations: 0 / 0.5836 GB, free: 25.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4293, allocations: 1.219 kB / 0.5836 GB, free: 25.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4293, allocations: 1.406 kB / 0.5836 GB, free: 25.87 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.000431/0.4298, allocations: 370.2 kB / 0.5839 GB, free: 25.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4298, allocations: 10.94 kB / 0.5839 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.4299, allocations: 8.469 kB / 0.5839 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.43, allocations: 166.4 kB / 0.5841 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.43, allocations: 3.469 kB / 0.5841 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.43, allocations: 8.656 kB / 0.5841 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.4301, allocations: 62.12 kB / 0.5842 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4302, allocations: 0 / 0.5842 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4302, allocations: 1.438 kB / 0.5842 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4302, allocations: 5.125 kB / 0.5842 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.326e-05/0.4303, allocations: 30.22 kB / 0.5842 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.4307, allocations: 308 kB / 0.5845 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4308, allocations: 54.06 kB / 0.5845 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.4309, allocations: 24.38 kB / 0.5846 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.4309, allocations: 1.438 kB / 0.5846 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.4311, allocations: 71.77 kB / 0.5846 GB, free: 24.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4311, allocations: 1.812 kB / 0.5846 GB, free: 24.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002273/0.4313, allocations: 106 kB / 0.5847 GB, free: 24.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.4313, allocations: 54.03 kB / 0.5848 GB, free: 24.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.4314, allocations: 104.2 kB / 0.5849 GB, free: 24.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4314, allocations: 31.64 kB / 0.5849 GB, free: 24.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.4315, allocations: 86.58 kB / 0.585 GB, free: 24.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.4315, allocations: 19.39 kB / 0.585 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.4315, allocations: 27.66 kB / 0.5851 GB, free: 24.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.4316, allocations: 324.2 kB / 0.5854 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.4316, allocations: 15.34 kB / 0.5854 GB, free: 24.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.4317, allocations: 44.23 kB / 0.5854 GB, free: 24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.4318, allocations: 73.84 kB / 0.5855 GB, free: 23.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4318, allocations: 0 / 0.5855 GB, free: 23.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000133/0.4319, allocations: 99.17 kB / 0.5856 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.432, allocations: 11.72 kB / 0.5856 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.432, allocations: 1.781 kB / 0.5856 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.432, allocations: 2.344 kB / 0.5856 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.4321, allocations: 8.562 kB / 0.5856 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4321, allocations: 2.469 kB / 0.5856 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.4321, allocations: 15.8 kB / 0.5856 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4322, allocations: 5.094 kB / 0.5856 GB, free: 23.86 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 6.851e-05/0.4322, allocations: 123.9 kB / 0.5857 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.4323, allocations: 7.438 kB / 0.5858 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.4323, allocations: 11.97 kB / 0.5858 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4323, allocations: 5.094 kB / 0.5858 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4323, allocations: 1.031 kB / 0.5858 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4323, allocations: 5.578 kB / 0.5858 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.4326, allocations: 356 kB / 0.5861 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4326, allocations: 0 / 0.5861 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.4327, allocations: 4.562 kB / 0.5861 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4327, allocations: 3.406 kB / 0.5861 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4327, allocations: 0 / 0.5861 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4327, allocations: 8.422 kB / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4327, allocations: 0 / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.4328, allocations: 186.5 kB / 0.5863 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.4329, allocations: 77.83 kB / 0.5864 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.4329, allocations: 7.812 kB / 0.5864 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.433, allocations: 9.766 kB / 0.5864 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.433, allocations: 10.45 kB / 0.5864 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4331, allocations: 0 / 0.5864 GB, free: 23.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.878e-05/0.4331, allocations: 85.47 kB / 0.5865 GB, free: 23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4331, allocations: 0 / 0.5865 GB, free: 23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.4333, allocations: 19.56 kB / 0.5865 GB, free: 22.99 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 8.905e-05/0.4334, allocations: 103.5 kB / 0.5866 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.4336, allocations: 51.77 kB / 0.5867 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4336, allocations: 1.25 kB / 0.5867 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.4336, allocations: 26.08 kB / 0.5867 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.4339, allocations: 19.67 kB / 0.5867 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.4343, allocations: 158 kB / 0.5869 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.4344, allocations: 0.691 MB / 0.5875 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.683e-05/0.4345, allocations: 5.531 kB / 0.5875 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.4345, allocations: 11.88 kB / 0.5875 GB, free: 22.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4345, allocations: 0 / 0.5875 GB, free: 22.01 MB / 446.1 MB Notification: Performance of Templates: time 0.002992/0.4375, allocations: 0.7663 MB / 0.5883 GB, free: 21.65 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)