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.001426/0.001426, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001673/0.001673, allocations: 211.8 kB / 22.25 MB, free: 4.863 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.801 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.06233/0.06233, allocations: 12.19 MB / 324.6 MB, free: 7.098 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.0008075/0.0008075, allocations: 26.27 kB / 384.1 MB, free: 47.36 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.902/2.902, allocations: 353.9 MB / 0.7787 GB, free: 1.621 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.003504/0.003504, allocations: 126.2 kB / 1.06 GB, free: 12.57 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3041, allocations: 134.9 MB / 1.192 GB, free: 5.789 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002051/0.3061, allocations: 0.6997 MB / 1.193 GB, free: 5.09 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.3082, allocations: 1.301 MB / 1.194 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.3083, allocations: 0 / 1.194 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.3083, allocations: 11.86 kB / 1.194 GB, free: 3.766 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3084, allocations: 15.86 kB / 1.194 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.3092, allocations: 243.8 kB / 1.194 GB, free: 3.52 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.3095, allocations: 259.5 kB / 1.195 GB, free: 3.266 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3096, allocations: 16.22 kB / 1.195 GB, free: 3.246 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3098, allocations: 99.86 kB / 1.195 GB, free: 3.148 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.31, allocations: 87.69 kB / 1.195 GB, free: 3.062 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.31, allocations: 20 kB / 1.195 GB, free: 3.043 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.3101, allocations: 35.98 kB / 1.195 GB, free: 3.008 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.3102, allocations: 27.91 kB / 1.195 GB, free: 2.98 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.3103, allocations: 91.73 kB / 1.195 GB, free: 2.891 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.3106, allocations: 219.4 kB / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3106, allocations: 0 / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3106, allocations: 4 kB / 1.195 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3106, allocations: 4 kB / 1.195 GB, free: 2.668 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.0008529/0.3115, allocations: 429.2 kB / 1.196 GB, free: 2.203 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3115, allocations: 11.98 kB / 1.196 GB, free: 2.191 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.3116, allocations: 16.89 kB / 1.196 GB, free: 2.176 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.3122, allocations: 202.4 kB / 1.196 GB, free: 1.953 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.3122, allocations: 16.31 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.3123, allocations: 24.36 kB / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3125, allocations: 131.9 kB / 1.196 GB, free: 1.773 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3126, allocations: 3.938 kB / 1.196 GB, free: 1.77 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3126, allocations: 7.984 kB / 1.196 GB, free: 1.762 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3126, allocations: 0 / 1.196 GB, free: 1.762 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.3127, allocations: 63.89 kB / 1.196 GB, free: 1.699 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.3135, allocations: 420.5 kB / 1.196 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.3138, allocations: 145.1 kB / 1.197 GB, free: 1.094 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.3139, allocations: 49.7 kB / 1.197 GB, free: 1.039 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3139, allocations: 4 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.3143, allocations: 210.3 kB / 1.197 GB, free: 0.8125 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=22): time 3.327e-06/0.3143, allocations: 4 kB / 1.197 GB, free: 0.8086 MB / 0.8263 GB Notification: Performance of matching and sorting (n=22): time 0.0006045/0.3149, allocations: 305.5 kB / 1.197 GB, free: 0.5039 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.315, allocations: 85.09 kB / 1.197 GB, free: 412 kB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3151, allocations: 136.6 kB / 1.197 GB, free: 268 kB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.3152, allocations: 41.69 kB / 1.197 GB, free: 220 kB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.3152, allocations: 96.58 kB / 1.198 GB, free: 120 kB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.3153, allocations: 55.58 kB / 1.198 GB, free: 64 kB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.3154, allocations: 73.67 kB / 1.198 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3156, allocations: 326.8 kB / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.3158, allocations: 143.6 kB / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.3161, allocations: 215.6 kB / 1.198 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.3164, allocations: 255.3 kB / 1.199 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3164, allocations: 3.938 kB / 1.199 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006651/0.3171, allocations: 431.5 kB / 1.199 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.08e-05/0.3172, allocations: 59.41 kB / 1.199 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.3172, allocations: 7.984 kB / 1.199 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3172, allocations: 4 kB / 1.199 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.3173, allocations: 19.94 kB / 1.199 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3173, allocations: 4 kB / 1.199 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.3177, allocations: 79.84 kB / 1.199 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.3177, allocations: 12 kB / 1.199 GB, free: 14.31 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.0001628/0.3179, allocations: 143.8 kB / 1.199 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3179, allocations: 11.95 kB / 1.199 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.318, allocations: 16.42 kB / 1.199 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.318, allocations: 4 kB / 1.199 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.318, allocations: 0 / 1.199 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.318, allocations: 3.938 kB / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.3187, allocations: 0.5558 MB / 1.2 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3187, allocations: 4 kB / 1.2 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.3187, allocations: 11.98 kB / 1.2 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3187, allocations: 3.984 kB / 1.2 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.3188, allocations: 11.98 kB / 1.2 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.3188, allocations: 3.938 kB / 1.2 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3188, allocations: 0 / 1.2 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.3193, allocations: 432.2 kB / 1.2 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.3193, allocations: 11.91 kB / 1.2 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.3193, allocations: 8 kB / 1.2 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3195, allocations: 11.98 kB / 1.2 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.3195, allocations: 31.89 kB / 1.2 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3196, allocations: 15.98 kB / 1.2 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.991e-05/0.3196, allocations: 95.27 kB / 1.2 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.3196, allocations: 96 / 1.2 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000375/0.32, allocations: 63.86 kB / 1.201 GB, free: 12.82 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.0001785/0.3202, allocations: 115.2 kB / 1.201 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005981/0.3208, allocations: 374.3 kB / 1.201 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3208, allocations: 4.062 kB / 1.201 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.321, allocations: 91.88 kB / 1.201 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3214, allocations: 19.98 kB / 1.201 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.322, allocations: 280.2 kB / 1.201 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.3221, allocations: 88.84 kB / 1.201 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.423e-05/0.3221, allocations: 21.48 kB / 1.201 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.3222, allocations: 19.44 kB / 1.201 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.3222, allocations: 0 / 1.201 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.007388/0.3296, allocations: 2.973 MB / 1.204 GB, free: 8.836 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.87486369162798] Failed to read output from testmodel.py, exit status != 0: 0.3383176922798157 0.352979513 0.039262853 Calling exit ...