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.001651/0.001651, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.001892/0.001892, allocations: 161.3 kB / 22.46 MB, free: 5.375 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 1.225/1.225, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.631e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001666/0.001693, allocations: 0.6983 MB / 0.6193 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.00343, allocations: 1.284 MB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.003475, allocations: 0 / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.003509, allocations: 7.875 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.003591, allocations: 27.78 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.00425, allocations: 245.4 kB / 0.6208 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.004556, allocations: 263.5 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.004646, allocations: 12.22 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.004828, allocations: 139.8 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.004984, allocations: 83.8 kB / 0.6213 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.005031, allocations: 20 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.005115, allocations: 35.98 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.005157, allocations: 35.89 kB / 0.6214 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.005269, allocations: 71.92 kB / 0.6214 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.005593, allocations: 267.3 kB / 0.6217 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005595, allocations: 0 / 0.6217 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005596, allocations: 4 kB / 0.6217 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.005604, allocations: 0 / 0.6217 GB, free: 1.352 MB / 0.5294 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.0007258/0.00633, allocations: 429.3 kB / 0.6221 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.006362, allocations: 8.031 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.006431, allocations: 20.89 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.00703, allocations: 196.3 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.007055, allocations: 16.38 kB / 0.6223 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.007103, allocations: 20.36 kB / 0.6223 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.007345, allocations: 123.9 kB / 0.6225 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.007354, allocations: 4.188 kB / 0.6225 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.007375, allocations: 8.359 kB / 0.6225 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.007383, allocations: 12.06 kB / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.007508, allocations: 51.95 kB / 0.6225 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.008274, allocations: 432.5 kB / 0.623 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.008549, allocations: 141.1 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.008643, allocations: 49.7 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.008651, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.009011, allocations: 217.7 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.009012, allocations: 0 / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0005905/0.009603, allocations: 321.3 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.009662, allocations: 93.25 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.009771, allocations: 124.8 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.009825, allocations: 45.69 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.0099, allocations: 92.59 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.009956, allocations: 55.62 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.01008, allocations: 77.67 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01023, allocations: 326.8 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.01046, allocations: 147.6 kB / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.01073, allocations: 208.9 kB / 0.6248 GB, free: 13.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.01107, allocations: 250.9 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01107, allocations: 0 / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006468/0.01172, allocations: 424.3 kB / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.01177, allocations: 71.44 kB / 0.6255 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01178, allocations: 0 / 0.6255 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.0118, allocations: 7.984 kB / 0.6255 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.01189, allocations: 19.92 kB / 0.6255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.0119, allocations: 4.375 kB / 0.6255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.01227, allocations: 67.81 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.01231, allocations: 16 kB / 0.6256 GB, free: 13.01 MB / 0.545 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.0001427/0.01245, allocations: 149.6 kB / 0.6257 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.01248, allocations: 23.84 kB / 0.6258 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.01253, allocations: 16.42 kB / 0.6258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01253, allocations: 4 kB / 0.6258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01254, allocations: 0 / 0.6258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01254, allocations: 0 / 0.6258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.01316, allocations: 0.5461 MB / 0.6263 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01317, allocations: 4 kB / 0.6263 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.01321, allocations: 15.98 kB / 0.6263 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.01322, allocations: 4 kB / 0.6263 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.01323, allocations: 3.984 kB / 0.6263 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.01324, allocations: 8 kB / 0.6263 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.01324, allocations: 3.938 kB / 0.6263 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.0137, allocations: 428.2 kB / 0.6268 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.01372, allocations: 11.94 kB / 0.6268 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.01375, allocations: 8 kB / 0.6268 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.0139, allocations: 11.98 kB / 0.6268 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.01397, allocations: 27.95 kB / 0.6268 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.01399, allocations: 15.98 kB / 0.6268 GB, free: 11.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.01405, allocations: 101.8 kB / 0.6269 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01405, allocations: 0 / 0.6269 GB, free: 11.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003717/0.01443, allocations: 67.81 kB / 0.627 GB, free: 11.52 MB / 0.545 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.0001715/0.0146, allocations: 119.8 kB / 0.6271 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005307/0.01513, allocations: 374 kB / 0.6275 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01513, allocations: 448 / 0.6275 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01528, allocations: 83.91 kB / 0.6275 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.01567, allocations: 34.38 kB / 0.6276 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.01618, allocations: 278.8 kB / 0.6278 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.01628, allocations: 92.95 kB / 0.6279 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.741e-05/0.01634, allocations: 17.48 kB / 0.6279 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.01639, allocations: 24.5 kB / 0.628 GB, free: 10.42 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01639, allocations: 0 / 0.628 GB, free: 10.42 MB / 0.545 GB Notification: Performance of Templates: time 0.006459/0.02284, allocations: 2.882 MB / 0.6308 GB, free: 7.625 MB / 0.545 GB " [Timeout remaining time 660] 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.7934638895094395] Failed to read output from testmodel.py, exit status != 0: 0.030924193561077118 0.044913773000000004 0.036382861 Calling exit ...