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.0009288/0.0009288, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0009759/0.0009759, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9572/0.9572, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.7998/0.7998, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.543e-06/1.543e-06, allocations: 0.875 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.854e-05, allocations: 2.312 kB / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001249/0.001268, allocations: 0.7189 MB / 480.7 MB, free: 6.23 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.002734, allocations: 1.322 MB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.002785, allocations: 0 / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.002814, allocations: 3.938 kB / 482.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.002895, allocations: 23.3 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.003402, allocations: 248.2 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.003633, allocations: 253.2 kB / 482.6 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.147e-05/0.003715, allocations: 18.62 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.003873, allocations: 147.8 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.004006, allocations: 80.67 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.004036, allocations: 16 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.004098, allocations: 28 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.004128, allocations: 37.16 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.004191, allocations: 67.88 kB / 483 MB, free: 4.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.004366, allocations: 167.5 kB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004368, allocations: 0.6875 kB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004369, allocations: 0 / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.004372, allocations: 5.25 kB / 483.1 MB, free: 3.852 MB / 442.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.0004314/0.004803, allocations: 395.1 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.004833, allocations: 8.688 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.004886, allocations: 34.11 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.00504, allocations: 141.7 kB / 483.7 MB, free: 3.227 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.005061, allocations: 12.36 kB / 483.7 MB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.00509, allocations: 20.38 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.005221, allocations: 129.4 kB / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.005232, allocations: 192 / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.005243, allocations: 5.531 kB / 483.9 MB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005249, allocations: 4.375 kB / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.005296, allocations: 43.83 kB / 483.9 MB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.005665, allocations: 326.5 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.005799, allocations: 106.1 kB / 484.3 MB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.005838, allocations: 35.23 kB / 484.4 MB, free: 2.508 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.005846, allocations: 11.94 kB / 484.4 MB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.00603, allocations: 178.8 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.012e-06/0.006031, allocations: 4 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002165/0.006248, allocations: 185.2 kB / 484.7 MB, free: 2.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.006288, allocations: 89.09 kB / 484.8 MB, free: 2.012 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.006358, allocations: 143.4 kB / 485 MB, free: 1.859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.006384, allocations: 33.7 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.006423, allocations: 93.8 kB / 485.1 MB, free: 1.727 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.006462, allocations: 55.56 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.006536, allocations: 69.64 kB / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.006623, allocations: 327.4 kB / 485.5 MB, free: 1.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.006714, allocations: 107.7 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.006832, allocations: 188.2 kB / 485.8 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.006987, allocations: 213.4 kB / 486 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.00699, allocations: 4.562 kB / 486 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002734/0.007264, allocations: 326.3 kB / 486.3 MB, free: 340 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.007311, allocations: 67.39 kB / 486.4 MB, free: 260 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007317, allocations: 0 / 486.4 MB, free: 260 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.007331, allocations: 4 kB / 486.4 MB, free: 256 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.007395, allocations: 28.83 kB / 486.4 MB, free: 228 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.007401, allocations: 4 kB / 486.4 MB, free: 224 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.007556, allocations: 57.34 kB / 486.5 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.007577, allocations: 13.12 kB / 486.5 MB, free: 156 kB / 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.0001088/0.007686, allocations: 149.3 kB / 486.7 MB, free: 16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.007711, allocations: 31.84 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.007739, allocations: 13.52 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.007746, allocations: 4 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.007748, allocations: 0.6562 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.007753, allocations: 3.984 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.008003, allocations: 386 kB / 487.1 MB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.008005, allocations: 0 / 487.1 MB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.008031, allocations: 17.84 kB / 487.1 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008033, allocations: 0 / 487.1 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.008044, allocations: 7.984 kB / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008046, allocations: 0 / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008047, allocations: 0 / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.00821, allocations: 322.7 kB / 487.4 MB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.008221, allocations: 17.41 kB / 487.4 MB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.008244, allocations: 11.98 kB / 487.5 MB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.008318, allocations: 15.92 kB / 487.5 MB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.008363, allocations: 29.05 kB / 487.5 MB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.008372, allocations: 4 kB / 487.5 MB, free: 15.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.09e-05/0.008393, allocations: 25.53 kB / 487.5 MB, free: 15.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008393, allocations: 0 / 487.5 MB, free: 15.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000213/0.008606, allocations: 53.08 kB / 487.6 MB, free: 15.04 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.0001185/0.008725, allocations: 93.27 kB / 487.7 MB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.00897, allocations: 328.3 kB / 488 MB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.008972, allocations: 7.938 kB / 488 MB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-05/0.009043, allocations: 76.75 kB / 488.1 MB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.009246, allocations: 34.06 kB / 488.1 MB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.009806, allocations: 252.1 kB / 488.4 MB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.009851, allocations: 68 kB / 488.4 MB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.329e-05/0.009895, allocations: 16.23 kB / 488.4 MB, free: 14.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.01001, allocations: 99.86 kB / 488.5 MB, free: 14 MB / 458.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01001, allocations: 4 kB / 488.5 MB, free: 14 MB / 458.7 MB Notification: Performance of Templates: time 0.004432/0.01445, allocations: 3.021 MB / 491.6 MB, free: 11.21 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.7197433072142303]