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.001093/0.001093, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001195/0.001195, allocations: 173 kB / 23.49 MB, free: 1.059 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.9945/0.9945, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.7885/0.7885, allocations: 154.6 MB / 414.9 MB, free: 0.6562 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.934e-06/1.934e-06, allocations: 0 / 0.5203 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.767e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001525/0.001543, allocations: 0.7132 MB / 0.521 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.002874, allocations: 1.309 MB / 0.5223 GB, free: 496 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.002954, allocations: 4 kB / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.002997, allocations: 9.141 kB / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.003105, allocations: 15.8 kB / 0.5223 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.003868, allocations: 249.8 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.004188, allocations: 255.5 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.00433, allocations: 16.2 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.004533, allocations: 149.4 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.004681, allocations: 75.81 kB / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.004723, allocations: 24 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.174e-05/0.004805, allocations: 39.97 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.004844, allocations: 33.19 kB / 0.5232 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.004932, allocations: 71.92 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.005149, allocations: 191.4 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005151, allocations: 0 / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005152, allocations: 0.625 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005156, allocations: 0 / 0.5234 GB, free: 15.38 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.0006565/0.005813, allocations: 0.5174 MB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.005861, allocations: 16.02 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.005949, allocations: 24.89 kB / 0.5239 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.006369, allocations: 193.8 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.006398, allocations: 12.36 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.006428, allocations: 24 kB / 0.5242 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.00661, allocations: 145 kB / 0.5243 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.006617, allocations: 192 / 0.5243 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.006632, allocations: 4.359 kB / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.006642, allocations: 8.125 kB / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.00672, allocations: 55.89 kB / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.007247, allocations: 0.5146 MB / 0.5249 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.007451, allocations: 138.7 kB / 0.525 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.007508, allocations: 52.31 kB / 0.5251 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.007517, allocations: 4 kB / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.007764, allocations: 211 kB / 0.5253 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.007765, allocations: 0 / 0.5253 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.000382/0.008147, allocations: 291.2 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.008192, allocations: 89.03 kB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.008291, allocations: 189.9 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.008322, allocations: 41.7 kB / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.008385, allocations: 149.5 kB / 0.526 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.008424, allocations: 51.58 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.008511, allocations: 79.34 kB / 0.5261 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.008628, allocations: 0.4961 MB / 0.5266 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.008762, allocations: 131.6 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.008915, allocations: 225.1 kB / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.009107, allocations: 253.9 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.00911, allocations: 0 / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003742/0.009484, allocations: 406.6 kB / 0.5276 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.009522, allocations: 67.39 kB / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.009526, allocations: 0 / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.00954, allocations: 4.938 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.009616, allocations: 27.92 kB / 0.5277 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.009623, allocations: 4.656 kB / 0.5277 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.009778, allocations: 59.36 kB / 0.5277 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.0098, allocations: 19.98 kB / 0.5277 GB, free: 10.54 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.0001008/0.009901, allocations: 186.5 kB / 0.5279 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.009925, allocations: 23.94 kB / 0.5279 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.009957, allocations: 16.44 kB / 0.528 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009959, allocations: 3.938 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.009966, allocations: 11.11 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.00997, allocations: 0 / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.01038, allocations: 0.6254 MB / 0.5286 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01038, allocations: 0 / 0.5286 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.01041, allocations: 11.94 kB / 0.5286 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01041, allocations: 7.969 kB / 0.5286 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01043, allocations: 8 kB / 0.5286 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01043, allocations: 4 kB / 0.5286 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01043, allocations: 3.312 kB / 0.5286 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.01072, allocations: 0.5042 MB / 0.5291 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.01073, allocations: 15.84 kB / 0.5291 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01076, allocations: 15.98 kB / 0.5291 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.01083, allocations: 11.98 kB / 0.5292 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.01089, allocations: 27.89 kB / 0.5292 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.0109, allocations: 12 kB / 0.5292 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.01095, allocations: 137.4 kB / 0.5293 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01095, allocations: 7.5 kB / 0.5293 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000238/0.01119, allocations: 59.92 kB / 0.5294 GB, free: 8.797 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.0001194/0.0113, allocations: 112.5 kB / 0.5295 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.01163, allocations: 365.6 kB / 0.5298 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01163, allocations: 0 / 0.5298 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.01172, allocations: 86.45 kB / 0.5299 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.01198, allocations: 28.86 kB / 0.5299 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.01236, allocations: 276.5 kB / 0.5302 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01241, allocations: 68 kB / 0.5303 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.606e-05/0.01246, allocations: 21.45 kB / 0.5303 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.01249, allocations: 20.48 kB / 0.5303 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.01249, allocations: 0 / 0.5303 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of Templates: time 0.00432/0.01681, allocations: 2.892 MB / 0.5331 GB, free: 5.027 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.8859201478771865]