Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007749/0.0007749, allocations: 96.36 kB / 19.7 MB, free: 452 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.0008327/0.0008327, allocations: 216.7 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.945/0.945, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7566/0.7566, allocations: 203.5 MB / 0.5046 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: IDEAS 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.0009167/0.0009167, allocations: 74.97 kB / 0.719 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5034, allocations: 102 MB / 0.8186 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001458/0.5048, allocations: 0.6984 MB / 0.8193 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.506, allocations: 1.287 MB / 0.8206 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.506, allocations: 2.344 kB / 0.8206 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.5061, allocations: 4.734 kB / 0.8206 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.5061, allocations: 26 kB / 0.8206 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.5067, allocations: 251.4 kB / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.507, allocations: 251.6 kB / 0.8211 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.5071, allocations: 9.562 kB / 0.8211 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.5072, allocations: 106.8 kB / 0.8212 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.5073, allocations: 85.36 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.5074, allocations: 24.56 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.5074, allocations: 35.56 kB / 0.8213 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.5075, allocations: 35.08 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.5076, allocations: 79.67 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.5078, allocations: 226.7 kB / 0.8216 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5078, allocations: 6.406 kB / 0.8216 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5078, allocations: 0 / 0.8216 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5078, allocations: 0 / 0.8216 GB, free: 15.59 MB / 0.6198 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.0005988/0.5084, allocations: 431.5 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5085, allocations: 10.62 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.5085, allocations: 18.69 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.5089, allocations: 198 kB / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.509, allocations: 14.36 kB / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.509, allocations: 20.42 kB / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.5092, allocations: 131.5 kB / 0.8224 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5092, allocations: 3.938 kB / 0.8224 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.5092, allocations: 5.844 kB / 0.8224 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5092, allocations: 0 / 0.8224 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.5093, allocations: 58.89 kB / 0.8225 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.5099, allocations: 432.4 kB / 0.8229 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.5101, allocations: 149.4 kB / 0.8231 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.5102, allocations: 48.88 kB / 0.8231 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5102, allocations: 1.844 kB / 0.8231 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.5105, allocations: 204.3 kB / 0.8233 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.5105, allocations: 4 kB / 0.8233 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0004678/0.511, allocations: 318.4 kB / 0.8236 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.511, allocations: 87.14 kB / 0.8237 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.5111, allocations: 134 kB / 0.8238 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.5111, allocations: 42.02 kB / 0.8239 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.5112, allocations: 95.36 kB / 0.8239 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.5112, allocations: 56.52 kB / 0.824 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.5113, allocations: 74.34 kB / 0.8241 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.5114, allocations: 323.4 kB / 0.8244 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.5116, allocations: 147.5 kB / 0.8245 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.5118, allocations: 217.3 kB / 0.8247 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.512, allocations: 241.9 kB / 0.825 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.512, allocations: 1.406 kB / 0.825 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004446/0.5124, allocations: 427.9 kB / 0.8254 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.5125, allocations: 67.86 kB / 0.8254 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5125, allocations: 2.781 kB / 0.8254 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5125, allocations: 2.656 kB / 0.8254 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.5126, allocations: 19.14 kB / 0.8255 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5126, allocations: 4.422 kB / 0.8255 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.5128, allocations: 73.66 kB / 0.8255 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.5128, allocations: 25.03 kB / 0.8256 GB, free: 12.7 MB / 0.6198 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.0001077/0.5129, allocations: 133.3 kB / 0.8257 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.513, allocations: 21.78 kB / 0.8257 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.513, allocations: 19.58 kB / 0.8257 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.513, allocations: 7.469 kB / 0.8257 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.513, allocations: 3.984 kB / 0.8257 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.513, allocations: 6.141 kB / 0.8257 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.5135, allocations: 0.5362 MB / 0.8263 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5135, allocations: 0.6094 kB / 0.8263 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.5135, allocations: 15.44 kB / 0.8263 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5135, allocations: 5.062 kB / 0.8263 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.5135, allocations: 6.203 kB / 0.8263 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.5135, allocations: 5.844 kB / 0.8263 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5135, allocations: 1.156 kB / 0.8263 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.5139, allocations: 434.2 kB / 0.8267 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.5139, allocations: 13.44 kB / 0.8267 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.5139, allocations: 10.45 kB / 0.8267 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.514, allocations: 17.42 kB / 0.8267 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.5141, allocations: 31.69 kB / 0.8268 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.5141, allocations: 15.78 kB / 0.8268 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.5141, allocations: 93.61 kB / 0.8269 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5141, allocations: 1.375 kB / 0.8269 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002653/0.5144, allocations: 60.95 kB / 0.8269 GB, free: 11.74 MB / 0.6198 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.0001439/0.5145, allocations: 106.1 kB / 0.827 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.5149, allocations: 386.3 kB / 0.8274 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5149, allocations: 0 / 0.8274 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.5151, allocations: 89.11 kB / 0.8275 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.5154, allocations: 27.5 kB / 0.8275 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.5158, allocations: 307.4 kB / 0.8278 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.988e-05/0.5159, allocations: 97.66 kB / 0.8279 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.5159, allocations: 19.84 kB / 0.8279 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5159, allocations: 0 / 0.8279 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.004208/0.5202, allocations: 2.294 MB / 0.8302 GB, free: 10.82 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.733323602937162] Failed to read output from testmodel.py, exit status != 0: 0.5262778676114976 0.5381112229999999 0.028099967000000003 Calling exit ...