Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0005651/0.0005651, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007081/0.0007081, allocations: 212.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8493/0.8493, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7157/0.7157, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [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.0008361/0.0008361, allocations: 65.73 kB / 0.7194 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4405, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.00133/0.4418, allocations: 0.722 MB / 0.8197 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.4428, allocations: 1.187 MB / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.4429, allocations: 0 / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.4429, allocations: 9.25 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.4429, allocations: 17.22 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.4434, allocations: 143.8 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.4436, allocations: 123.6 kB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.4437, allocations: 13.77 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.4438, allocations: 58.06 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.4438, allocations: 40.86 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.4438, allocations: 12.69 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.4439, allocations: 29.88 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.4439, allocations: 17.78 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.444, allocations: 44.36 kB / 0.8214 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.4442, allocations: 128 kB / 0.8215 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4442, allocations: 0 / 0.8215 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4442, allocations: 0 / 0.8215 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4442, allocations: 0 / 0.8215 GB, free: 15.74 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004596/0.4446, allocations: 342.9 kB / 0.8218 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.4447, allocations: 9.5 kB / 0.8218 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.4448, allocations: 12.05 kB / 0.8218 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.4448, allocations: 129 kB / 0.8219 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4449, allocations: 7.172 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.4449, allocations: 10.19 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.445, allocations: 66.92 kB / 0.822 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.445, allocations: 7.922 kB / 0.822 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.445, allocations: 4.656 kB / 0.822 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.445, allocations: 1.594 kB / 0.822 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.4452, allocations: 50.31 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.4455, allocations: 274.5 kB / 0.8224 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4456, allocations: 53.56 kB / 0.8224 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.4457, allocations: 38.34 kB / 0.8224 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.4457, allocations: 0 / 0.8224 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.4459, allocations: 87.36 kB / 0.8225 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4459, allocations: 0 / 0.8225 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002889/0.4462, allocations: 151.6 kB / 0.8227 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.4462, allocations: 54.47 kB / 0.8227 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.4463, allocations: 131.7 kB / 0.8228 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4463, allocations: 30.95 kB / 0.8229 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.4463, allocations: 91.25 kB / 0.823 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.4464, allocations: 19.11 kB / 0.823 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.4464, allocations: 39.2 kB / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.4465, allocations: 324.4 kB / 0.8233 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.4466, allocations: 85.2 kB / 0.8234 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4467, allocations: 124.5 kB / 0.8235 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.4469, allocations: 144.1 kB / 0.8237 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4469, allocations: 5.344 kB / 0.8237 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002837/0.4472, allocations: 244.7 kB / 0.8239 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.4472, allocations: 35.64 kB / 0.8239 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-06/0.4472, allocations: 2 kB / 0.8239 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4472, allocations: 2.156 kB / 0.8239 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.4473, allocations: 17.89 kB / 0.824 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4473, allocations: 2.625 kB / 0.824 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4474, allocations: 42.5 kB / 0.824 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.4474, allocations: 11.59 kB / 0.824 GB, free: 13.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 6.942e-05/0.4475, allocations: 123.3 kB / 0.8241 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.4475, allocations: 7.656 kB / 0.8241 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.4477, allocations: 131.4 kB / 0.8243 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4477, allocations: 5.125 kB / 0.8243 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4477, allocations: 0.7031 kB / 0.8243 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4477, allocations: 5.656 kB / 0.8243 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.448, allocations: 320.3 kB / 0.8246 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.448, allocations: 0 / 0.8246 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.448, allocations: 10.31 kB / 0.8246 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.448, allocations: 0.5625 kB / 0.8246 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.448, allocations: 1.812 kB / 0.8246 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.448, allocations: 0 / 0.8246 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.448, allocations: 9.641 kB / 0.8246 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.4482, allocations: 214.9 kB / 0.8248 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.4482, allocations: 11.08 kB / 0.8248 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.4482, allocations: 5.844 kB / 0.8248 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.4483, allocations: 6.625 kB / 0.8248 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.4483, allocations: 6.859 kB / 0.8248 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4483, allocations: 2.781 kB / 0.8248 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.4483, allocations: 100.7 kB / 0.8249 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4483, allocations: 4 kB / 0.8249 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001838/0.4485, allocations: 30.2 kB / 0.825 GB, free: 12.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001053/0.4486, allocations: 97.75 kB / 0.8251 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.4489, allocations: 193.2 kB / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4489, allocations: 1.031 kB / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.4489, allocations: 42.11 kB / 0.8253 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.4491, allocations: 13.02 kB / 0.8253 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.4495, allocations: 213.8 kB / 0.8255 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.4495, allocations: 77.12 kB / 0.8256 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.4495, allocations: 11.56 kB / 0.8256 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.4495, allocations: 1.281 kB / 0.8256 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.002323/0.4519, allocations: 1.315 MB / 0.8269 GB, free: 12.33 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.313164858147502] Failed to read output from testmodel.py, exit status != 0: 0.45728632574900985 0.46625570800000005 0.020249238000000003 Calling exit ...