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.0009367/0.0009367, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009244/0.0009244, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9339/0.9339, allocations: 177.1 MB / 203.7 MB, free: 5.492 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-545:108: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-545:116: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.7505/0.7505, allocations: 154.6 MB / 414.8 MB, free: 0.5 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 2.194e-06/2.194e-06, allocations: 0 / 0.5208 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.642e-05, allocations: 2.312 kB / 0.5208 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001908/0.001935, allocations: 0.7138 MB / 0.5215 GB, free: 112 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.003964, allocations: 1.3 MB / 0.5227 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.004048, allocations: 3.938 kB / 0.5227 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.004092, allocations: 7.922 kB / 0.5228 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.00421, allocations: 22.27 kB / 0.5228 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.004978, allocations: 248.4 kB / 0.523 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.005314, allocations: 252.5 kB / 0.5233 GB, free: 14.28 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.005425, allocations: 16.2 kB / 0.5233 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.005651, allocations: 153.2 kB / 0.5234 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.005835, allocations: 76.59 kB / 0.5235 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.005883, allocations: 20 kB / 0.5235 GB, free: 14.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.005976, allocations: 31.98 kB / 0.5235 GB, free: 13.99 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.006016, allocations: 28.81 kB / 0.5236 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.00611, allocations: 75.84 kB / 0.5236 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.006338, allocations: 169.2 kB / 0.5238 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006341, allocations: 0 / 0.5238 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006342, allocations: 0 / 0.5238 GB, free: 13.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006346, allocations: 0 / 0.5238 GB, free: 13.72 MB / 458.7 MB 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.0006813/0.007028, allocations: 0.516 MB / 0.5243 GB, free: 13.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.007072, allocations: 9.25 kB / 0.5243 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.007152, allocations: 36.83 kB / 0.5243 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.007362, allocations: 158.8 kB / 0.5245 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.007389, allocations: 13.72 kB / 0.5245 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.007426, allocations: 24.36 kB / 0.5245 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.00761, allocations: 126.2 kB / 0.5247 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.007621, allocations: 192 / 0.5247 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.007635, allocations: 9.141 kB / 0.5247 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007643, allocations: 384 / 0.5247 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.007712, allocations: 49.33 kB / 0.5247 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.00819, allocations: 0.4937 MB / 0.5252 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.008342, allocations: 126.1 kB / 0.5253 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.008382, allocations: 47.34 kB / 0.5254 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.008391, allocations: 4 kB / 0.5254 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.008586, allocations: 201.3 kB / 0.5256 GB, free: 11.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.008587, allocations: 0 / 0.5256 GB, free: 11.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003146/0.008901, allocations: 265.4 kB / 0.5258 GB, free: 11.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.008941, allocations: 91.78 kB / 0.5259 GB, free: 11.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.009026, allocations: 192.7 kB / 0.5261 GB, free: 11.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.009052, allocations: 33.7 kB / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.009106, allocations: 147.3 kB / 0.5263 GB, free: 11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.009143, allocations: 55.61 kB / 0.5263 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.009221, allocations: 75.31 kB / 0.5264 GB, free: 10.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.009336, allocations: 0.4962 MB / 0.5269 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.009427, allocations: 128.8 kB / 0.527 GB, free: 10.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.009551, allocations: 209 kB / 0.5272 GB, free: 9.957 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.009722, allocations: 234.2 kB / 0.5274 GB, free: 9.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.009725, allocations: 0.7188 kB / 0.5274 GB, free: 9.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000334/0.01006, allocations: 387.8 kB / 0.5278 GB, free: 9.273 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.0101, allocations: 67.39 kB / 0.5278 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01011, allocations: 4.656 kB / 0.5278 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01012, allocations: 4 kB / 0.5278 GB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.01019, allocations: 25.05 kB / 0.5279 GB, free: 9.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.0102, allocations: 4 kB / 0.5279 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.01035, allocations: 58.28 kB / 0.5279 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.01037, allocations: 16 kB / 0.5279 GB, free: 9.09 MB / 458.7 MB 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.0001103/0.01048, allocations: 193.5 kB / 0.5281 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.01051, allocations: 27.89 kB / 0.5282 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.01055, allocations: 20.38 kB / 0.5282 GB, free: 8.848 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01055, allocations: 4 kB / 0.5282 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01055, allocations: 0 / 0.5282 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01056, allocations: 3.984 kB / 0.5282 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.01106, allocations: 0.5883 MB / 0.5288 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01106, allocations: 0 / 0.5288 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.0111, allocations: 17.45 kB / 0.5288 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01111, allocations: 0 / 0.5288 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01112, allocations: 11.98 kB / 0.5288 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.01112, allocations: 0 / 0.5288 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01112, allocations: 1.078 kB / 0.5288 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.0114, allocations: 0.491 MB / 0.5293 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.01141, allocations: 11.91 kB / 0.5293 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.01143, allocations: 13.77 kB / 0.5293 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.01151, allocations: 15.98 kB / 0.5293 GB, free: 7.641 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.01157, allocations: 27.89 kB / 0.5293 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.01158, allocations: 15.98 kB / 0.5294 GB, free: 7.598 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.01166, allocations: 133.7 kB / 0.5295 GB, free: 7.469 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01166, allocations: 0 / 0.5295 GB, free: 7.469 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.01188, allocations: 56.59 kB / 0.5295 GB, free: 7.414 MB / 458.7 MB 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.0001366/0.01202, allocations: 121.2 kB / 0.5296 GB, free: 7.289 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.01231, allocations: 349.5 kB / 0.53 GB, free: 6.906 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01231, allocations: 0.8125 kB / 0.53 GB, free: 6.906 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.01239, allocations: 80.03 kB / 0.5301 GB, free: 6.824 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.01266, allocations: 33.78 kB / 0.5301 GB, free: 6.793 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.01301, allocations: 256.8 kB / 0.5303 GB, free: 6.516 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.628e-05/0.01306, allocations: 68 kB / 0.5304 GB, free: 6.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.039e-05/0.01311, allocations: 22.92 kB / 0.5304 GB, free: 6.414 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.01323, allocations: 114.2 kB / 0.5305 GB, free: 6.301 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01323, allocations: 0 / 0.5305 GB, free: 6.301 MB / 458.7 MB Notification: Performance of Templates: time 0.00444/0.01767, allocations: 3.103 MB / 0.5336 GB, free: 3.395 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.697556129656732]