Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00145/0.00145, allocations: 84.73 kB / 19.44 MB, free: 360 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.001675/0.001675, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.249/1.249, allocations: 154.8 MB / 414.4 MB, free: 472 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 0 / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.739e-05/5.069e-05, allocations: 9.891 kB / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00233/0.002381, allocations: 0.6964 MB / 0.5206 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.005065, allocations: 1.281 MB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.00514, allocations: 0 / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.005181, allocations: 7.875 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.005296, allocations: 27.78 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.006084, allocations: 237.5 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.006488, allocations: 255.5 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.00661, allocations: 13.56 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.006849, allocations: 143.8 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.007061, allocations: 83.78 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.007118, allocations: 25.22 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.007219, allocations: 28 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.007275, allocations: 35.89 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.007416, allocations: 78.7 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.007825, allocations: 271.2 kB / 0.523 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.007829, allocations: 0 / 0.523 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.767e-06/0.007838, allocations: 0 / 0.523 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.007845, allocations: 0 / 0.523 GB, free: 15.13 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.0009657/0.008811, allocations: 429.3 kB / 0.5234 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.00887, allocations: 8.031 kB / 0.5234 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.008989, allocations: 33.39 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.009653, allocations: 188.3 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.009691, allocations: 16.36 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.009742, allocations: 24.38 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.01006, allocations: 131.9 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.01007, allocations: 1.125 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.01009, allocations: 4.375 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.0101, allocations: 5.531 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.01027, allocations: 67.88 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.01127, allocations: 421.8 kB / 0.5242 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.01158, allocations: 129.8 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.01169, allocations: 53.69 kB / 0.5244 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.01171, allocations: 9.266 kB / 0.5244 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/0.01218, allocations: 217 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.233e-06/0.01218, allocations: 3.188 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0007528/0.01293, allocations: 336.3 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.01302, allocations: 89.09 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.01316, allocations: 126 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.01322, allocations: 45.69 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.01332, allocations: 88.64 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.01339, allocations: 55.64 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.01357, allocations: 73.67 kB / 0.5254 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.01381, allocations: 334.8 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.01407, allocations: 150.4 kB / 0.5259 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.01441, allocations: 215.5 kB / 0.5261 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.0148, allocations: 246.6 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.01481, allocations: 3.984 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007801/0.01559, allocations: 437.3 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.136e-05/0.01568, allocations: 63.91 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.01569, allocations: 3.984 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.01571, allocations: 6.031 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01581, allocations: 15.94 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.01583, allocations: 7.938 kB / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.0162, allocations: 74.2 kB / 0.5269 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.01624, allocations: 20 kB / 0.5269 GB, free: 10.76 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.0002022/0.01644, allocations: 147.6 kB / 0.527 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.01649, allocations: 30.16 kB / 0.5271 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.01655, allocations: 12.44 kB / 0.5271 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.01656, allocations: 4 kB / 0.5271 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.01657, allocations: 0 / 0.5271 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.01657, allocations: 3.984 kB / 0.5271 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.01734, allocations: 0.553 MB / 0.5276 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01735, allocations: 0 / 0.5276 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.01739, allocations: 11.94 kB / 0.5276 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.0174, allocations: 0.9375 kB / 0.5276 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.01742, allocations: 15.98 kB / 0.5277 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01742, allocations: 1.562 kB / 0.5277 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01743, allocations: 0 / 0.5277 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.01801, allocations: 442.5 kB / 0.5281 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.01803, allocations: 15.91 kB / 0.5281 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.01807, allocations: 9.281 kB / 0.5281 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.01821, allocations: 15.92 kB / 0.5281 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.01829, allocations: 23.95 kB / 0.5281 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.01831, allocations: 16.64 kB / 0.5282 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.077e-05/0.0184, allocations: 96.52 kB / 0.5283 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0184, allocations: 0.8438 kB / 0.5283 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003912/0.01879, allocations: 59.86 kB / 0.5283 GB, free: 9.266 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.0002405/0.01903, allocations: 118.7 kB / 0.5284 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008888/0.01992, allocations: 377.4 kB / 0.5288 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01992, allocations: 0.7188 kB / 0.5288 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.02008, allocations: 83.89 kB / 0.5289 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.02055, allocations: 29.75 kB / 0.5289 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.0212, allocations: 278 kB / 0.5292 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.02132, allocations: 94.75 kB / 0.5292 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.864e-05/0.02141, allocations: 17.11 kB / 0.5293 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.02148, allocations: 28.48 kB / 0.5293 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/0.02148, allocations: 0 / 0.5293 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.007671/0.02915, allocations: 2.886 MB / 0.5321 GB, free: 5.461 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.942055223044008]