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.0007086/0.0007086, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008994/0.001608, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008208/0.0008208, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009732/0.001794, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9564/0.9564, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1229/1.079, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.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.7892/0.7892, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3044/1.094, allocations: 49.05 MB / 447.8 MB, free: 6.602 MB / 426.7 MB " [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.653e-06/1.653e-06, allocations: 0 / 449.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.492e-05, allocations: 6.906 kB / 449.2 MB, free: 5.285 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001946/0.001971, allocations: 0.7667 MB / 449.9 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.003624, allocations: 1.315 MB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.003685, allocations: 0.5312 kB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.003713, allocations: 4.562 kB / 451.2 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.003789, allocations: 28.16 kB / 451.3 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.004384, allocations: 237.8 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.004734, allocations: 245.2 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.022e-05/0.004824, allocations: 21.08 kB / 451.8 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.005058, allocations: 152.4 kB / 451.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.005225, allocations: 74.22 kB / 452 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.005266, allocations: 20 kB / 452 MB, free: 2.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.005375, allocations: 31.98 kB / 452 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.005412, allocations: 23.92 kB / 452.1 MB, free: 2.445 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.005491, allocations: 51.94 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.005716, allocations: 132.3 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.00573, allocations: 1.969 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005731, allocations: 0 / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.005747, allocations: 3.938 kB / 452.2 MB, free: 2.262 MB / 426.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.0007166/0.006463, allocations: 429.6 kB / 452.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.006496, allocations: 8.656 kB / 452.7 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.006565, allocations: 32.91 kB / 452.7 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.006755, allocations: 140.6 kB / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.006781, allocations: 12.38 kB / 452.9 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.006823, allocations: 24.36 kB / 452.9 MB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.007001, allocations: 130.2 kB / 453 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.00701, allocations: 192 / 453 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.007023, allocations: 4.359 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.00703, allocations: 4.375 kB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.007097, allocations: 43.84 kB / 453.1 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.007612, allocations: 323.4 kB / 453.4 MB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.007788, allocations: 106.9 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.007835, allocations: 33.8 kB / 453.5 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.007845, allocations: 9.672 kB / 453.5 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.00809, allocations: 187 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.008091, allocations: 0.9062 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002971/0.008388, allocations: 189.5 kB / 453.9 MB, free: 500 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.008439, allocations: 85.11 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.008525, allocations: 132.9 kB / 454.1 MB, free: 252 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.008563, allocations: 37.7 kB / 454.1 MB, free: 208 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.008615, allocations: 97.23 kB / 454.2 MB, free: 108 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.008662, allocations: 55.56 kB / 454.3 MB, free: 52 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.008774, allocations: 71.02 kB / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.00887, allocations: 326.8 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.008994, allocations: 115.6 kB / 454.8 MB, free: 15.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.009143, allocations: 181.7 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.009356, allocations: 213.6 kB / 455.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.00936, allocations: 3.938 kB / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003566/0.009717, allocations: 333.6 kB / 455.5 MB, free: 14.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.009776, allocations: 75.33 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.009782, allocations: 0 / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.009797, allocations: 4 kB / 455.6 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.009889, allocations: 24.72 kB / 455.6 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.009896, allocations: 7.984 kB / 455.6 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.01011, allocations: 57.28 kB / 455.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.01014, allocations: 12.92 kB / 455.7 MB, free: 14.52 MB / 442.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.0002088/0.01034, allocations: 144.2 kB / 455.8 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.01038, allocations: 32.81 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.01041, allocations: 16.44 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01042, allocations: 1.344 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.01042, allocations: 8 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01043, allocations: 0.875 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.01071, allocations: 389.9 kB / 456.3 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01071, allocations: 1.188 kB / 456.3 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.01075, allocations: 11.94 kB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.01077, allocations: 13.12 kB / 456.3 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.01077, allocations: 0.5625 kB / 456.3 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01078, allocations: 11.98 kB / 456.3 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01078, allocations: 4.578 kB / 456.3 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01078, allocations: 0.6562 kB / 456.3 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.01094, allocations: 318.7 kB / 456.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.01097, allocations: 16.48 kB / 456.6 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.01105, allocations: 8.609 kB / 456.6 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.0111, allocations: 27.89 kB / 456.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01111, allocations: 8.625 kB / 456.7 MB, free: 13.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.383e-05/0.01113, allocations: 28.17 kB / 456.7 MB, free: 13.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01113, allocations: 0 / 456.7 MB, free: 13.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.01134, allocations: 60.45 kB / 456.8 MB, free: 13.39 MB / 442.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.0001325/0.01147, allocations: 93.53 kB / 456.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.01175, allocations: 341.5 kB / 457.2 MB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.01175, allocations: 4 kB / 457.2 MB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.01184, allocations: 81.62 kB / 457.3 MB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01209, allocations: 159.1 kB / 457.4 MB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.01263, allocations: 266.8 kB / 457.7 MB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.01268, allocations: 71.98 kB / 457.8 MB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.01272, allocations: 16.3 kB / 457.8 MB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.01284, allocations: 91.34 kB / 457.9 MB, free: 12.18 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01284, allocations: 0.8438 kB / 457.9 MB, free: 12.18 MB / 442.7 MB Notification: Performance of Templates: time 0.004282/0.01712, allocations: 3.08 MB / 460.9 MB, free: 9.336 MB / 442.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.579823449254036]