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.0007363/0.0007363, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007374/0.0007374, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8279/0.8279, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.6837/0.6837, allocations: 154.6 MB / 414.5 MB, free: 0.8125 MB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.19e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001194/0.001216, allocations: 0.7144 MB / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.002373, allocations: 1.283 MB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.002429, allocations: 4 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.002458, allocations: 7.875 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.002531, allocations: 23.8 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.003053, allocations: 252.3 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.003279, allocations: 255.5 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.003374, allocations: 8.219 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.00351, allocations: 147.8 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.00363, allocations: 79.8 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.00366, allocations: 20 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.003723, allocations: 35.98 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.003754, allocations: 31.91 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.003824, allocations: 79.84 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.00406, allocations: 267.3 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004062, allocations: 0 / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.71e-07/0.004063, allocations: 0 / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.004067, allocations: 0 / 0.6224 GB, free: 9.941 MB / 0.5886 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.0005066/0.004574, allocations: 425.4 kB / 0.6228 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004608, allocations: 8.031 kB / 0.6229 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.004665, allocations: 20.84 kB / 0.6229 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.005004, allocations: 193.8 kB / 0.6231 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.005026, allocations: 16.36 kB / 0.6231 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.005053, allocations: 16.38 kB / 0.6231 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.00522, allocations: 139.7 kB / 0.6232 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.005228, allocations: 4.188 kB / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.005245, allocations: 4.375 kB / 0.6232 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.005251, allocations: 4.125 kB / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.005339, allocations: 59.95 kB / 0.6233 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.005806, allocations: 424.4 kB / 0.6237 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.005992, allocations: 141.2 kB / 0.6238 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.006053, allocations: 61.69 kB / 0.6239 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.006062, allocations: 3.938 kB / 0.6239 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.006296, allocations: 212.9 kB / 0.6241 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 9.62e-07/0.006297, allocations: 0 / 0.6241 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22): time 0.0003783/0.006675, allocations: 313.2 kB / 0.6244 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.006721, allocations: 93.09 kB / 0.6245 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.006795, allocations: 130 kB / 0.6246 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.006824, allocations: 41.7 kB / 0.6247 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.006869, allocations: 88.64 kB / 0.6247 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.006904, allocations: 55.62 kB / 0.6248 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.006981, allocations: 77.67 kB / 0.6249 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.00706, allocations: 326.8 kB / 0.6252 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.007201, allocations: 151.6 kB / 0.6253 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.007358, allocations: 215.6 kB / 0.6255 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.007553, allocations: 243.4 kB / 0.6258 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007555, allocations: 0 / 0.6258 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003596/0.007915, allocations: 427.8 kB / 0.6262 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.007953, allocations: 71.39 kB / 0.6262 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007958, allocations: 224 / 0.6262 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.00797, allocations: 8 kB / 0.6262 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.00803, allocations: 19.94 kB / 0.6263 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.008037, allocations: 7.984 kB / 0.6263 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.008208, allocations: 67.78 kB / 0.6263 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.008231, allocations: 23.92 kB / 0.6264 GB, free: 5.586 MB / 0.5886 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 9.597e-05/0.008327, allocations: 144.8 kB / 0.6265 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.008345, allocations: 15.94 kB / 0.6265 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.008376, allocations: 20.38 kB / 0.6265 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.008379, allocations: 4 kB / 0.6265 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.008384, allocations: 3.938 kB / 0.6265 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.008387, allocations: 0 / 0.6265 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.008751, allocations: 0.5519 MB / 0.6271 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.008753, allocations: 4 kB / 0.6271 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.008776, allocations: 7.938 kB / 0.6271 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008777, allocations: 0 / 0.6271 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.008788, allocations: 11.98 kB / 0.6271 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.008791, allocations: 4 kB / 0.6271 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008792, allocations: 0 / 0.6271 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.009052, allocations: 429.4 kB / 0.6275 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.009062, allocations: 11.91 kB / 0.6275 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.009083, allocations: 11.98 kB / 0.6275 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.009158, allocations: 11.98 kB / 0.6275 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.009207, allocations: 27.89 kB / 0.6276 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.009219, allocations: 16 kB / 0.6276 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.009254, allocations: 91.27 kB / 0.6277 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009254, allocations: 4 kB / 0.6277 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000229/0.009483, allocations: 63.86 kB / 0.6277 GB, free: 4.102 MB / 0.5886 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.0001135/0.009596, allocations: 111.2 kB / 0.6278 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.009925, allocations: 378 kB / 0.6282 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.009927, allocations: 0 / 0.6282 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.01002, allocations: 95.88 kB / 0.6283 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01028, allocations: 30.44 kB / 0.6283 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.01065, allocations: 296.7 kB / 0.6286 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.01071, allocations: 88.94 kB / 0.6287 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.01074, allocations: 28.48 kB / 0.6287 GB, free: 3 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.01074, allocations: 0 / 0.6287 GB, free: 3 MB / 0.5886 GB Notification: Performance of Templates: time 0.002681/0.01342, allocations: 2.301 MB / 0.631 GB, free: 0.7188 MB / 0.5886 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: 4.815466247498989] Failed to read output from testmodel.py, exit status != 0: 0.018385143019258976 0.026359445000000002 0.02064916 Calling exit ...