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.0009143/0.0009143, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.000938/0.000938, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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 0.9855/0.9855, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] 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.03623/0.03623, allocations: 12.19 MB / 325.4 MB, free: 6.141 MB / 250.7 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.000348/0.000348, allocations: 31.88 kB / 384.8 MB, free: 10.57 MB / 314.7 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 1.819/1.819, allocations: 353.8 MB / 0.7794 GB, free: 4.543 MB / 0.5105 GB " [Timeout remaining time 178] 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.001479/0.001479, allocations: 117.5 kB / 1.061 GB, free: 24.47 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3132, allocations: 134.9 MB / 1.193 GB, free: 6.992 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001762/0.315, allocations: 0.6958 MB / 1.194 GB, free: 6.297 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3164, allocations: 1.301 MB / 1.195 GB, free: 4.984 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.3164, allocations: 0 / 1.195 GB, free: 4.984 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.3165, allocations: 3.938 kB / 1.195 GB, free: 4.98 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.18e-05/0.3166, allocations: 19.8 kB / 1.195 GB, free: 4.961 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.3172, allocations: 257.8 kB / 1.195 GB, free: 4.715 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.3174, allocations: 251.6 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3176, allocations: 8.234 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3177, allocations: 107.8 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.3178, allocations: 79.75 kB / 1.196 GB, free: 4.273 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3179, allocations: 24 kB / 1.196 GB, free: 4.25 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.305e-05/0.3179, allocations: 31.98 kB / 1.196 GB, free: 4.219 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.318, allocations: 39.89 kB / 1.196 GB, free: 4.18 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.3181, allocations: 79.81 kB / 1.196 GB, free: 4.102 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.3183, allocations: 235.3 kB / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3183, allocations: 0 / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3183, allocations: 0 / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3183, allocations: 0 / 1.196 GB, free: 3.871 MB / 0.823 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.0006806/0.319, allocations: 421.3 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3191, allocations: 15.97 kB / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.3191, allocations: 16.89 kB / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.3196, allocations: 198.5 kB / 1.197 GB, free: 3.164 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.3196, allocations: 8.375 kB / 1.197 GB, free: 3.156 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.3196, allocations: 24.36 kB / 1.197 GB, free: 3.133 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3198, allocations: 139.8 kB / 1.197 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3198, allocations: 3.938 kB / 1.197 GB, free: 2.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3199, allocations: 0 / 1.197 GB, free: 2.98 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3199, allocations: 7.984 kB / 1.197 GB, free: 2.973 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.32, allocations: 55.95 kB / 1.197 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.3206, allocations: 436.4 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.3208, allocations: 141.1 kB / 1.197 GB, free: 2.301 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.3208, allocations: 57.66 kB / 1.197 GB, free: 2.238 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3208, allocations: 3.938 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.3212, allocations: 205.7 kB / 1.198 GB, free: 2.016 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.3212, allocations: 0 / 1.198 GB, free: 2.016 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.0004503/0.3216, allocations: 312.3 kB / 1.198 GB, free: 1.707 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3217, allocations: 93.23 kB / 1.198 GB, free: 1.598 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.3218, allocations: 130 kB / 1.198 GB, free: 1.461 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.3218, allocations: 41.7 kB / 1.198 GB, free: 1.414 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.3219, allocations: 88.64 kB / 1.198 GB, free: 1.324 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.3219, allocations: 59.58 kB / 1.198 GB, free: 1.266 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.322, allocations: 73.67 kB / 1.198 GB, free: 1.188 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3221, allocations: 326.8 kB / 1.199 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3223, allocations: 151.6 kB / 1.199 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3224, allocations: 219.6 kB / 1.199 GB, free: 452 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.3227, allocations: 243 kB / 1.199 GB, free: 168 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3227, allocations: 0 / 1.199 GB, free: 168 kB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00078/0.3234, allocations: 423.1 kB / 1.2 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.3235, allocations: 71.39 kB / 1.2 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3235, allocations: 384 / 1.2 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3235, allocations: 4 kB / 1.2 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.3236, allocations: 15.94 kB / 1.2 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3236, allocations: 7.984 kB / 1.2 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.3238, allocations: 75.92 kB / 1.2 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.3238, allocations: 23.98 kB / 1.2 GB, free: 15.52 MB / 0.8387 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.000111/0.3239, allocations: 134 kB / 1.2 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3239, allocations: 19.94 kB / 1.2 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.324, allocations: 12.44 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.324, allocations: 7.938 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.324, allocations: 0 / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.324, allocations: 7.938 kB / 1.2 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.3244, allocations: 0.5597 MB / 1.201 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3244, allocations: 0 / 1.201 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.3245, allocations: 8 kB / 1.201 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3245, allocations: 4 kB / 1.201 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3245, allocations: 7.922 kB / 1.201 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3245, allocations: 11.94 kB / 1.201 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3245, allocations: 0 / 1.201 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.3248, allocations: 428.3 kB / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.3248, allocations: 11.91 kB / 1.201 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3248, allocations: 7.984 kB / 1.201 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.3249, allocations: 19.98 kB / 1.201 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.325, allocations: 27.89 kB / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.325, allocations: 12 kB / 1.201 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.325, allocations: 91.27 kB / 1.201 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.325, allocations: 7.938 kB / 1.201 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002369/0.3253, allocations: 55.98 kB / 1.201 GB, free: 14.04 MB / 0.8387 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.0001641/0.3254, allocations: 115.2 kB / 1.201 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.3258, allocations: 374 kB / 1.202 GB, free: 13.51 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3258, allocations: 4 kB / 1.202 GB, free: 13.51 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3259, allocations: 90.45 kB / 1.202 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3262, allocations: 29.31 kB / 1.202 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.3267, allocations: 310 kB / 1.202 GB, free: 13.06 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.421e-05/0.3267, allocations: 89.3 kB / 1.202 GB, free: 12.95 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.3268, allocations: 23.42 kB / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of SimCode: time 8.62e-07/0.3268, allocations: 0 / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of Templates: time 0.003223/0.33, allocations: 2.293 MB / 1.204 GB, free: 10.64 MB / 0.8387 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.185585854575038] Failed to read output from testmodel.py, exit status != 0: 0.3367420071735978 0.346836403 0.026353434000000002 Calling exit ...