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.0009179/0.0009179, allocations: 93.06 kB / 19.65 MB, free: 276 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.001014/0.001014, allocations: 165 kB / 23.02 MB, free: 1.547 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.995/0.995, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7728/0.7728, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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.655e-06/2.655e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.184e-05, allocations: 5.594 kB / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002356/0.002388, allocations: 0.7177 MB / 0.521 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.004225, allocations: 1.309 MB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.004297, allocations: 0 / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.004336, allocations: 3.938 kB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.004438, allocations: 24.56 kB / 0.5223 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.005214, allocations: 244.6 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.005547, allocations: 260.8 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.005657, allocations: 16.22 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.005875, allocations: 139.8 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.006034, allocations: 76.48 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.006081, allocations: 24 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.006172, allocations: 45.42 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.006214, allocations: 31.94 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.006319, allocations: 71.88 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.006601, allocations: 195.5 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.006604, allocations: 2.406 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.006606, allocations: 0 / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.006611, allocations: 0 / 0.5234 GB, free: 15.04 MB / 0.4948 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.0007068/0.007318, allocations: 0.5152 MB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.00736, allocations: 8.031 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.007448, allocations: 29.38 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.007914, allocations: 186.1 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.007948, allocations: 21.31 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.00799, allocations: 24.36 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.008213, allocations: 141.2 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.008225, allocations: 5.156 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.008242, allocations: 4.359 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.008251, allocations: 4.125 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.008352, allocations: 56.77 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.009043, allocations: 0.5196 MB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.009243, allocations: 143.4 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.009298, allocations: 47.36 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.009306, allocations: 0 / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.009524, allocations: 214.6 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.009526, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.000382/0.009908, allocations: 291.1 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.009948, allocations: 85.05 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.01004, allocations: 193.9 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.01007, allocations: 37.7 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.01012, allocations: 147.5 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.01016, allocations: 58.7 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.01024, allocations: 79.33 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.01036, allocations: 0.4961 MB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.01049, allocations: 131.6 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.01064, allocations: 221.1 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.01084, allocations: 252.7 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01084, allocations: 0 / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003763/0.01121, allocations: 410.6 kB / 0.5276 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.01125, allocations: 59.41 kB / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01126, allocations: 4 kB / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01127, allocations: 10.69 kB / 0.5276 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.01134, allocations: 23.92 kB / 0.5277 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01135, allocations: 4 kB / 0.5277 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01151, allocations: 59.8 kB / 0.5277 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.01153, allocations: 21.2 kB / 0.5277 GB, free: 10.21 MB / 0.4948 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.0001093/0.01164, allocations: 190.4 kB / 0.5279 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.01166, allocations: 20.95 kB / 0.5279 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.0117, allocations: 16.42 kB / 0.5279 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.0117, allocations: 9.781 kB / 0.528 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01171, allocations: 0 / 0.528 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.01171, allocations: 0 / 0.528 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.01211, allocations: 0.6254 MB / 0.5286 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01211, allocations: 0 / 0.5286 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.01214, allocations: 16.58 kB / 0.5286 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01214, allocations: 0.6562 kB / 0.5286 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.01216, allocations: 11.98 kB / 0.5286 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01216, allocations: 0.7344 kB / 0.5286 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01216, allocations: 7.969 kB / 0.5286 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.01246, allocations: 0.505 MB / 0.5291 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.01247, allocations: 15.84 kB / 0.5291 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.0125, allocations: 11.98 kB / 0.5291 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.01257, allocations: 10.42 kB / 0.5291 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.01263, allocations: 27.89 kB / 0.5292 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.01265, allocations: 19.98 kB / 0.5292 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.0127, allocations: 137.5 kB / 0.5293 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0127, allocations: 0 / 0.5293 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002929/0.01299, allocations: 51.94 kB / 0.5294 GB, free: 8.477 MB / 0.4948 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.0001335/0.01313, allocations: 118 kB / 0.5295 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.01345, allocations: 371.5 kB / 0.5298 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01345, allocations: 0 / 0.5298 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.01354, allocations: 80.77 kB / 0.5299 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.01381, allocations: 37.84 kB / 0.5299 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.01419, allocations: 276.1 kB / 0.5302 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.01423, allocations: 72.88 kB / 0.5303 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.01427, allocations: 17.98 kB / 0.5303 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.01431, allocations: 24.48 kB / 0.5303 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01431, allocations: 0 / 0.5303 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.0044/0.01871, allocations: 2.893 MB / 0.5331 GB, free: 4.688 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.848949071019888]