Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 106.4 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 219.1 kB / 22.25 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06654/0.06654, allocations: 12.18 MB / 324.6 MB, free: 7.266 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0008185/0.0008185, allocations: 32.66 kB / 384.1 MB, free: 46.6 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.539/2.539, allocations: 353.8 MB / 0.7787 GB, free: 1.055 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003603/0.003603, allocations: 125.8 kB / 1.061 GB, free: 13.02 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2694, allocations: 134.9 MB / 1.192 GB, free: 6.191 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001989/0.2714, allocations: 0.7295 MB / 1.193 GB, free: 5.465 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.2733, allocations: 1.32 MB / 1.194 GB, free: 4.133 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.2733, allocations: 0 / 1.194 GB, free: 4.133 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.2734, allocations: 7.875 kB / 1.194 GB, free: 4.125 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.2735, allocations: 19.84 kB / 1.194 GB, free: 4.105 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.2742, allocations: 251.6 kB / 1.195 GB, free: 3.867 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.2746, allocations: 251.6 kB / 1.195 GB, free: 3.621 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2747, allocations: 8.234 kB / 1.195 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2749, allocations: 107.8 kB / 1.195 GB, free: 3.504 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2751, allocations: 91.75 kB / 1.195 GB, free: 3.414 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.2751, allocations: 31.88 kB / 1.195 GB, free: 3.383 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.2752, allocations: 39.98 kB / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.2752, allocations: 35.89 kB / 1.195 GB, free: 3.309 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.2754, allocations: 91.75 kB / 1.195 GB, free: 3.219 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.2757, allocations: 227.3 kB / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2757, allocations: 0 / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2757, allocations: 0 / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2757, allocations: 0 / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008249/0.2765, allocations: 421.3 kB / 1.196 GB, free: 2.539 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2766, allocations: 15.98 kB / 1.196 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.073e-05/0.2767, allocations: 24.88 kB / 1.196 GB, free: 2.5 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.2772, allocations: 190.5 kB / 1.196 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.2773, allocations: 12.36 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.2773, allocations: 20.38 kB / 1.196 GB, free: 2.258 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.2776, allocations: 135.9 kB / 1.196 GB, free: 2.113 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2776, allocations: 7.938 kB / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2776, allocations: 0 / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2776, allocations: 7.984 kB / 1.196 GB, free: 2.098 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.2778, allocations: 59.89 kB / 1.196 GB, free: 2.039 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.2786, allocations: 495.7 kB / 1.197 GB, free: 1.508 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.2789, allocations: 137.2 kB / 1.197 GB, free: 1.355 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.279, allocations: 49.69 kB / 1.197 GB, free: 1.301 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.279, allocations: 4 kB / 1.197 GB, free: 1.297 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.2794, allocations: 211.3 kB / 1.197 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.2794, allocations: 0 / 1.197 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of matching and sorting (n=22): time 0.0006205/0.28, allocations: 307.8 kB / 1.197 GB, free: 0.7695 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.2801, allocations: 97.12 kB / 1.197 GB, free: 0.6562 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2802, allocations: 130 kB / 1.198 GB, free: 0.5195 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.2802, allocations: 41.7 kB / 1.198 GB, free: 484 kB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.2803, allocations: 92.62 kB / 1.198 GB, free: 388 kB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.2804, allocations: 63.52 kB / 1.198 GB, free: 324 kB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2805, allocations: 73.67 kB / 1.198 GB, free: 244 kB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2806, allocations: 323.2 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.2808, allocations: 88.23 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.2811, allocations: 152.2 kB / 1.198 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.2814, allocations: 253.8 kB / 1.199 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2814, allocations: 4 kB / 1.199 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006167/0.282, allocations: 362 kB / 1.199 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.2821, allocations: 63.61 kB / 1.199 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2821, allocations: 8 kB / 1.199 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2821, allocations: 4 kB / 1.199 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.2822, allocations: 15.94 kB / 1.199 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2822, allocations: 7.938 kB / 1.199 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2825, allocations: 71.81 kB / 1.199 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.2826, allocations: 12 kB / 1.199 GB, free: 14.8 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001471/0.2827, allocations: 147.8 kB / 1.199 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.2828, allocations: 19.94 kB / 1.199 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.2828, allocations: 16.44 kB / 1.199 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2828, allocations: 0 / 1.199 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.2828, allocations: 7.922 kB / 1.199 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2828, allocations: 4 kB / 1.199 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.2835, allocations: 0.5943 MB / 1.2 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2835, allocations: 4 kB / 1.2 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.2835, allocations: 4 kB / 1.2 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2835, allocations: 7.938 kB / 1.2 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2836, allocations: 7.984 kB / 1.2 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2836, allocations: 4.094 kB / 1.2 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2836, allocations: 7.875 kB / 1.2 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.284, allocations: 418.6 kB / 1.2 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.284, allocations: 11.91 kB / 1.2 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.2841, allocations: 15.92 kB / 1.2 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2842, allocations: 11.98 kB / 1.2 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.2843, allocations: 23.95 kB / 1.2 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2843, allocations: 16 kB / 1.2 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.2844, allocations: 94.02 kB / 1.201 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.2844, allocations: 0 / 1.201 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003607/0.2847, allocations: 59.92 kB / 1.201 GB, free: 13.26 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 0.0001761/0.2849, allocations: 119.2 kB / 1.201 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.2854, allocations: 310.6 kB / 1.201 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2854, allocations: 0 / 1.201 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2856, allocations: 79.91 kB / 1.201 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.286, allocations: 37.59 kB / 1.201 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.2866, allocations: 278.3 kB / 1.201 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.2869, allocations: 0.7047 MB / 1.202 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.039e-05/0.287, allocations: 17.48 kB / 1.202 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.287, allocations: 23.44 kB / 1.202 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.287, allocations: 0 / 1.202 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.006676/0.2937, allocations: 2.778 MB / 1.205 GB, free: 8.875 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.065857153385878] Failed to read output from testmodel.py, exit status != 0: 0.3027476593852043 0.32082295 0.040691122 Calling exit ...