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.0007184/0.0007184, 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.0006958/0.0006958, allocations: 212.1 kB / 23 MB, free: 2.98 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.877/0.877, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7264/0.7264, allocations: 203.8 MB / 0.5049 GB, free: 10.45 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.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.0008884/0.0008884, allocations: 62.88 kB / 0.7194 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3897, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001199/0.3909, allocations: 0.7068 MB / 0.8197 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.3918, allocations: 1.275 MB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.3918, allocations: 6.312 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.3918, allocations: 5.297 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.3919, allocations: 20.95 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.3923, allocations: 251.6 kB / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3925, allocations: 256.3 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.35e-05/0.3926, allocations: 11.67 kB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.3927, allocations: 104.4 kB / 0.8216 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3928, allocations: 86.53 kB / 0.8217 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.3928, allocations: 23.06 kB / 0.8217 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.3929, allocations: 35.84 kB / 0.8217 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.3929, allocations: 27.92 kB / 0.8217 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.393, allocations: 80.22 kB / 0.8218 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.3932, allocations: 232 kB / 0.822 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3932, allocations: 0.9375 kB / 0.822 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3932, allocations: 0 / 0.822 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.3932, allocations: 0 / 0.822 GB, free: 15.49 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004866/0.3937, allocations: 443.3 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.3937, allocations: 9.469 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.3937, allocations: 18.42 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3941, allocations: 184.3 kB / 0.8227 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3941, allocations: 14.81 kB / 0.8227 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3941, allocations: 34.41 kB / 0.8227 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3943, allocations: 130.7 kB / 0.8228 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3943, allocations: 4 kB / 0.8228 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3943, allocations: 5.344 kB / 0.8228 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3943, allocations: 0 / 0.8228 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.3944, allocations: 66.16 kB / 0.8229 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.3949, allocations: 430.3 kB / 0.8233 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3951, allocations: 135.1 kB / 0.8235 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.3951, allocations: 58.39 kB / 0.8235 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3951, allocations: 1.156 kB / 0.8235 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.3954, allocations: 209.7 kB / 0.8237 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 9.31e-07/0.3954, allocations: 0.9688 kB / 0.8237 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0003893/0.3958, allocations: 316.3 kB / 0.824 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3958, allocations: 84.81 kB / 0.8241 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.3959, allocations: 134.7 kB / 0.8242 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3959, allocations: 41.23 kB / 0.8243 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.3959, allocations: 105 kB / 0.8244 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.396, allocations: 51.52 kB / 0.8244 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.3961, allocations: 74 kB / 0.8245 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.3961, allocations: 335.4 kB / 0.8248 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3963, allocations: 144 kB / 0.8249 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3964, allocations: 213.5 kB / 0.8251 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.3966, allocations: 247.5 kB / 0.8254 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3966, allocations: 1.531 kB / 0.8254 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005758/0.3972, allocations: 416.2 kB / 0.8258 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.3972, allocations: 64.8 kB / 0.8258 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3972, allocations: 9.625 kB / 0.8258 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3973, allocations: 4.859 kB / 0.8258 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.3973, allocations: 18.2 kB / 0.8259 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3973, allocations: 11.22 kB / 0.8259 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.3975, allocations: 67.22 kB / 0.8259 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.3975, allocations: 16.59 kB / 0.826 GB, free: 12.61 MB / 0.6198 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 8.213e-05/0.3976, allocations: 144.5 kB / 0.8261 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.3976, allocations: 17.88 kB / 0.8261 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.3976, allocations: 16.12 kB / 0.8261 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3976, allocations: 1.438 kB / 0.8261 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3976, allocations: 6.047 kB / 0.8261 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3977, allocations: 3.203 kB / 0.8261 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.398, allocations: 0.5419 MB / 0.8267 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.398, allocations: 0 / 0.8267 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.398, allocations: 12.55 kB / 0.8267 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.398, allocations: 5.125 kB / 0.8267 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3981, allocations: 10.53 kB / 0.8267 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3981, allocations: 5.797 kB / 0.8267 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3981, allocations: 1.312 kB / 0.8267 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3983, allocations: 434.7 kB / 0.8271 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.3983, allocations: 16.53 kB / 0.8271 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3984, allocations: 10.55 kB / 0.8271 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.3984, allocations: 13.02 kB / 0.8272 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3985, allocations: 29.31 kB / 0.8272 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3985, allocations: 11.78 kB / 0.8272 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.3985, allocations: 104.6 kB / 0.8273 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3985, allocations: 0 / 0.8273 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002245/0.3987, allocations: 53.3 kB / 0.8273 GB, free: 11.65 MB / 0.6198 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 9.709e-05/0.3988, allocations: 115.6 kB / 0.8275 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000337/0.3992, allocations: 380.4 kB / 0.8278 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.3992, allocations: 0 / 0.8278 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.3993, allocations: 80.92 kB / 0.8279 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.3995, allocations: 37.2 kB / 0.8279 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.3999, allocations: 303.1 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.902e-05/0.3999, allocations: 93.72 kB / 0.8283 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.4, allocations: 23.88 kB / 0.8283 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.4, allocations: 288 / 0.8283 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.002998/0.403, allocations: 2.294 MB / 0.8306 GB, free: 10.73 MB / 0.6198 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.079274478834122] Failed to read output from testmodel.py, exit status != 0: 0.40805717278271914 0.41677512599999994 0.021681831000000002 Calling exit ...