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.001681/0.001681, allocations: 82.64 kB / 19.16 MB, free: 2.535 MB / 14.72 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.00183/0.00183, allocations: 168.2 kB / 22.44 MB, free: 5.34 MB / 14.72 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.45/1.45, allocations: 177.2 MB / 202.8 MB, free: 9.219 MB / 190.1 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-531:190: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-531:198: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.202/1.202, allocations: 155 MB / 414.2 MB, free: 4.949 MB / 382.1 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 73.5 kB / 0.6191 GB, free: 4.16 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5171, allocations: 102 MB / 0.7188 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001807/0.5189, allocations: 0.7073 MB / 0.7194 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.5202, allocations: 1.284 MB / 0.7207 GB, free: 404 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.5203, allocations: 1.375 kB / 0.7207 GB, free: 404 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.5203, allocations: 9.094 kB / 0.7207 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.5204, allocations: 17.92 kB / 0.7207 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.521, allocations: 255.8 kB / 0.721 GB, free: 252 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.5213, allocations: 258.8 kB / 0.7212 GB, free: 136 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.5214, allocations: 10.72 kB / 0.7212 GB, free: 128 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.5216, allocations: 149.1 kB / 0.7214 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.5217, allocations: 78.77 kB / 0.7214 GB, free: 36 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.5218, allocations: 22.94 kB / 0.7215 GB, free: 36 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-05/0.5219, allocations: 36.55 kB / 0.7215 GB, free: 32 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.5219, allocations: 37.5 kB / 0.7215 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.522, allocations: 84.58 kB / 0.7216 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.5224, allocations: 272.7 kB / 0.7219 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5224, allocations: 1.156 kB / 0.7219 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5224, allocations: 0 / 0.7219 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.5224, allocations: 0 / 0.7219 GB, free: 15.86 MB / 0.6231 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.0007605/0.5232, allocations: 426.5 kB / 0.7223 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.5232, allocations: 9.5 kB / 0.7223 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.5233, allocations: 19.2 kB / 0.7223 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.5239, allocations: 194.1 kB / 0.7225 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.5239, allocations: 14.2 kB / 0.7225 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.524, allocations: 20.58 kB / 0.7225 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.5242, allocations: 127.7 kB / 0.7227 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5242, allocations: 5.219 kB / 0.7227 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.5243, allocations: 8.703 kB / 0.7227 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5243, allocations: 1.031 kB / 0.7227 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.5244, allocations: 66.84 kB / 0.7227 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.5251, allocations: 432.2 kB / 0.7231 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.5254, allocations: 136.5 kB / 0.7233 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.939e-05/0.5255, allocations: 49.2 kB / 0.7233 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.5255, allocations: 2.672 kB / 0.7233 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.5259, allocations: 208.1 kB / 0.7235 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.5259, allocations: 1.312 kB / 0.7235 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22): time 0.0006656/0.5266, allocations: 319.9 kB / 0.7238 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.5267, allocations: 91.66 kB / 0.7239 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.5268, allocations: 130 kB / 0.724 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.5268, allocations: 37.81 kB / 0.7241 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.5269, allocations: 100.9 kB / 0.7242 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.527, allocations: 51.88 kB / 0.7242 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.5272, allocations: 77.69 kB / 0.7243 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5273, allocations: 323.8 kB / 0.7246 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.5276, allocations: 147.6 kB / 0.7247 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.5279, allocations: 210 kB / 0.7249 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.5283, allocations: 255.8 kB / 0.7252 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5283, allocations: 0.5 kB / 0.7252 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006671/0.529, allocations: 421.2 kB / 0.7256 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.529, allocations: 67.34 kB / 0.7257 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.529, allocations: 2.625 kB / 0.7257 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5291, allocations: 8.484 kB / 0.7257 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.5292, allocations: 17.66 kB / 0.7257 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.5292, allocations: 4.234 kB / 0.7257 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.5295, allocations: 74.05 kB / 0.7258 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.5296, allocations: 21.16 kB / 0.7258 GB, free: 12.99 MB / 0.6231 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.0001554/0.5297, allocations: 145.7 kB / 0.7259 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.5298, allocations: 17.75 kB / 0.7259 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.5298, allocations: 18.92 kB / 0.7259 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.5298, allocations: 8.531 kB / 0.726 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5298, allocations: 0 / 0.726 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.5298, allocations: 6.344 kB / 0.726 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.5305, allocations: 0.5461 MB / 0.7265 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5305, allocations: 1.938 kB / 0.7265 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.5305, allocations: 6.922 kB / 0.7265 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5305, allocations: 1.344 kB / 0.7265 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.5305, allocations: 10.91 kB / 0.7265 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5305, allocations: 5.25 kB / 0.7265 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5305, allocations: 1.125 kB / 0.7265 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.531, allocations: 439.9 kB / 0.7269 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.5311, allocations: 8.797 kB / 0.727 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.5311, allocations: 10.3 kB / 0.727 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.5312, allocations: 9.547 kB / 0.727 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.5313, allocations: 28.78 kB / 0.727 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.5313, allocations: 15.88 kB / 0.727 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.5314, allocations: 97.48 kB / 0.7271 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5314, allocations: 0 / 0.7271 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003603/0.5317, allocations: 61.75 kB / 0.7272 GB, free: 12.03 MB / 0.6231 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.0001761/0.5319, allocations: 115.1 kB / 0.7273 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.5325, allocations: 381.1 kB / 0.7276 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5325, allocations: 0 / 0.7276 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.5326, allocations: 79.22 kB / 0.7277 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.533, allocations: 34.75 kB / 0.7277 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.5336, allocations: 287.5 kB / 0.728 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.5337, allocations: 93.92 kB / 0.7281 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.223e-05/0.5338, allocations: 18.88 kB / 0.7281 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.5338, allocations: 19.2 kB / 0.7281 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.5338, allocations: 1.438 kB / 0.7281 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of Templates: time 0.007491/0.5413, allocations: 2.894 MB / 0.731 GB, free: 11.03 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.114930655807257] Failed to read output from testmodel.py, exit status != 0: 0.5497629158198833 0.564925448 0.039533441 Calling exit ...