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.000921/0.000921, 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.001086/0.001086, allocations: 173 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.8995/0.8995, 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.7471/0.7471, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.334e-06/2.334e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.924e-05, allocations: 5.562 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001446/0.001475, allocations: 0.7198 MB / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002798, allocations: 1.313 MB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.002848, allocations: 0.5 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.002883, allocations: 4.781 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.002964, allocations: 19.8 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.003493, allocations: 249 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.003718, allocations: 261.2 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.003814, allocations: 12.22 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.003965, allocations: 151.8 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.004105, allocations: 73.52 kB / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.004139, allocations: 20 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.004206, allocations: 28 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.00424, allocations: 33.39 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.004318, allocations: 71.92 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.004517, allocations: 171.5 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.004521, allocations: 0 / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.004522, allocations: 0.75 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.004528, allocations: 0 / 0.5234 GB, free: 15.12 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.0005622/0.00509, allocations: 0.5089 MB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.005127, allocations: 12.03 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.005198, allocations: 34.16 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.005388, allocations: 155.2 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.00541, allocations: 16.36 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.005436, allocations: 16.38 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.005618, allocations: 142.9 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005627, allocations: 4.125 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.005641, allocations: 7.547 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.005649, allocations: 4.375 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.005723, allocations: 51.89 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.006235, allocations: 0.5219 MB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.00642, allocations: 130.7 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.006477, allocations: 51.84 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.006486, allocations: 8.625 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.006706, allocations: 205.6 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.006707, allocations: 0 / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0003772/0.007085, allocations: 297.3 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.007124, allocations: 86.03 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.007219, allocations: 193 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.007247, allocations: 40.55 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.007303, allocations: 139.4 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.007339, allocations: 55.58 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.00742, allocations: 83.33 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.007533, allocations: 0.4922 MB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.007662, allocations: 139.6 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.007809, allocations: 225 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.007994, allocations: 251.1 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007996, allocations: 0 / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003615/0.008358, allocations: 406 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.009e-05/0.008398, allocations: 67.39 kB / 0.5275 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.008404, allocations: 8.781 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.008418, allocations: 4 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.00849, allocations: 17.52 kB / 0.5276 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.008498, allocations: 7.938 kB / 0.5276 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.008659, allocations: 62.23 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.008681, allocations: 16 kB / 0.5277 GB, free: 10.33 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.0001012/0.008782, allocations: 194.4 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.008808, allocations: 27.94 kB / 0.5279 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.008839, allocations: 15.16 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008843, allocations: 4 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.008846, allocations: 0 / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.008851, allocations: 3.984 kB / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.009234, allocations: 0.6313 MB / 0.5285 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009236, allocations: 3.938 kB / 0.5285 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.00926, allocations: 8.844 kB / 0.5285 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.009262, allocations: 0 / 0.5285 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.009275, allocations: 7.984 kB / 0.5285 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.009276, allocations: 1.125 kB / 0.5285 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009278, allocations: 0 / 0.5285 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.009557, allocations: 0.5105 MB / 0.529 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.009569, allocations: 18.69 kB / 0.529 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.00959, allocations: 8 kB / 0.5291 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.009665, allocations: 11.98 kB / 0.5291 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.009719, allocations: 27.94 kB / 0.5291 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.009731, allocations: 19.94 kB / 0.5291 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.00977, allocations: 131.2 kB / 0.5292 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00977, allocations: 0 / 0.5292 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002158/0.009986, allocations: 59.58 kB / 0.5293 GB, free: 8.594 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.0001376/0.01012, allocations: 124.4 kB / 0.5294 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.01044, allocations: 365.7 kB / 0.5298 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01044, allocations: 0 / 0.5298 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.01053, allocations: 86.08 kB / 0.5298 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01078, allocations: 31.41 kB / 0.5299 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.01118, allocations: 278.3 kB / 0.5301 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.776e-05/0.01122, allocations: 68 kB / 0.5302 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.612e-05/0.01127, allocations: 18.86 kB / 0.5302 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.01131, allocations: 25.95 kB / 0.5302 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.01131, allocations: 0 / 0.5302 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of Templates: time 0.004592/0.0159, allocations: 3.066 MB / 0.5332 GB, free: 4.648 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.434045684058219]