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.001321/0.001321, allocations: 73.97 kB / 20.66 MB, free: 3.848 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.001538/0.001538, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9172/0.9172, allocations: 177.1 MB / 204.5 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.7595/0.7595, allocations: 154.6 MB / 415.6 MB, free: 0.5508 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.435e-06/2.435e-06, allocations: 0 / 0.5215 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.514e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001516/0.001541, allocations: 0.7092 MB / 0.5222 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.002901, allocations: 1.3 MB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.002974, allocations: 5.375 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.003008, allocations: 11.81 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.003096, allocations: 15.86 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005841/0.00368, allocations: 250 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.003958, allocations: 259.5 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.004052, allocations: 12.22 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.004227, allocations: 161.1 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.00437, allocations: 79.25 kB / 0.5243 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.004399, allocations: 16 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.004467, allocations: 27.98 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.004499, allocations: 31.91 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.004569, allocations: 67.92 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.004768, allocations: 171.5 kB / 0.5246 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004771, allocations: 0 / 0.5246 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004772, allocations: 3.938 kB / 0.5246 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004777, allocations: 0 / 0.5246 GB, free: 14.82 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.0005273/0.005304, allocations: 0.5124 MB / 0.5251 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.005337, allocations: 8.562 kB / 0.5251 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.005397, allocations: 24.89 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.005565, allocations: 164.2 kB / 0.5253 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.005587, allocations: 16.36 kB / 0.5253 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.005613, allocations: 21.84 kB / 0.5253 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.005763, allocations: 130.2 kB / 0.5254 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.005771, allocations: 192 / 0.5254 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.005783, allocations: 8.359 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.005789, allocations: 5.281 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.005844, allocations: 51.77 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.006597, allocations: 0.4976 MB / 0.526 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.006765, allocations: 130.1 kB / 0.5261 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.006803, allocations: 39.34 kB / 0.5261 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.006814, allocations: 8.812 kB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.007024, allocations: 195.8 kB / 0.5263 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.007026, allocations: 0 / 0.5263 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0003112/0.007337, allocations: 265.4 kB / 0.5266 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.007379, allocations: 85.05 kB / 0.5267 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.007465, allocations: 199.3 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.007496, allocations: 41.69 kB / 0.5269 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.007552, allocations: 139.4 kB / 0.527 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.007594, allocations: 55.56 kB / 0.5271 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.007675, allocations: 83.3 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.007787, allocations: 0.4962 MB / 0.5276 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.00789, allocations: 122.4 kB / 0.5278 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.008011, allocations: 201.1 kB / 0.5279 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.008173, allocations: 237.4 kB / 0.5282 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.008177, allocations: 7.938 kB / 0.5282 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003278/0.008505, allocations: 374 kB / 0.5285 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.008551, allocations: 67.39 kB / 0.5286 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.008558, allocations: 4.656 kB / 0.5286 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.008569, allocations: 4 kB / 0.5286 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.008637, allocations: 29.11 kB / 0.5286 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.008641, allocations: 0 / 0.5286 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.008807, allocations: 62.23 kB / 0.5287 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.008828, allocations: 15.98 kB / 0.5287 GB, free: 10.2 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.0001095/0.008937, allocations: 190.4 kB / 0.5289 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.008965, allocations: 31 kB / 0.5289 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.008998, allocations: 12.44 kB / 0.5289 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.009001, allocations: 4 kB / 0.5289 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.009004, allocations: 3.938 kB / 0.5289 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.009008, allocations: 3.984 kB / 0.5289 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.009374, allocations: 0.5958 MB / 0.5295 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009375, allocations: 0 / 0.5295 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.009405, allocations: 11.94 kB / 0.5295 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009408, allocations: 0.5 kB / 0.5295 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.009419, allocations: 9.453 kB / 0.5295 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.00942, allocations: 0 / 0.5295 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.009423, allocations: 4 kB / 0.5295 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.009693, allocations: 0.4884 MB / 0.53 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.009707, allocations: 23.53 kB / 0.53 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.009729, allocations: 8 kB / 0.5301 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.00981, allocations: 11.98 kB / 0.5301 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.00986, allocations: 27.89 kB / 0.5301 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.009873, allocations: 15.98 kB / 0.5301 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.009913, allocations: 133.2 kB / 0.5302 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009913, allocations: 0 / 0.5302 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002452/0.01016, allocations: 55.98 kB / 0.5303 GB, free: 8.523 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.0001349/0.01029, allocations: 118.4 kB / 0.5304 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.01058, allocations: 354.3 kB / 0.5307 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01058, allocations: 0 / 0.5307 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.01066, allocations: 75.56 kB / 0.5308 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01093, allocations: 38.17 kB / 0.5308 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.01127, allocations: 257.9 kB / 0.5311 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.01132, allocations: 68 kB / 0.5312 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.01137, allocations: 17.27 kB / 0.5312 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.0115, allocations: 122.2 kB / 0.5313 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.0115, allocations: 0 / 0.5313 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of Templates: time 0.004844/0.01634, allocations: 3.165 MB / 0.5344 GB, free: 4.422 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.7542664879001677]