Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.0006802/0.0006802, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007069/0.0007069, allocations: 211.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.8228/0.8228, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7137/0.7137, allocations: 203.8 MB / 0.5049 GB, free: 10.39 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [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.0008922/0.0008922, allocations: 70.3 kB / 0.7194 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4003, allocations: 102 MB / 0.819 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001375/0.4017, allocations: 0.6761 MB / 0.8197 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.4027, allocations: 1.291 MB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.4028, allocations: 0 / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.4028, allocations: 4.594 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.4028, allocations: 24.08 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.4034, allocations: 308.8 kB / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.4036, allocations: 260.2 kB / 0.8215 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.4037, allocations: 5.656 kB / 0.8215 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.4038, allocations: 104.6 kB / 0.8216 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.404, allocations: 81.19 kB / 0.8217 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.404, allocations: 23.91 kB / 0.8217 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.4041, allocations: 33.94 kB / 0.8218 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.4041, allocations: 20.14 kB / 0.8218 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.4042, allocations: 77.44 kB / 0.8218 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.4044, allocations: 223.2 kB / 0.8221 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4044, allocations: 4 kB / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4044, allocations: 0 / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4044, allocations: 0 / 0.8221 GB, free: 15.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003913/0.4048, allocations: 423.9 kB / 0.8225 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4048, allocations: 8.062 kB / 0.8225 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.4049, allocations: 17.02 kB / 0.8225 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/0.405, allocations: 125.7 kB / 0.8226 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.405, allocations: 4.75 kB / 0.8226 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.405, allocations: 17.84 kB / 0.8226 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.4051, allocations: 60.55 kB / 0.8227 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4051, allocations: 7.938 kB / 0.8227 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.4051, allocations: 1.562 kB / 0.8227 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4051, allocations: 3.984 kB / 0.8227 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.4052, allocations: 21.73 kB / 0.8227 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.4055, allocations: 312.3 kB / 0.823 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/0.4056, allocations: 38.73 kB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.4056, allocations: 16.64 kB / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.4056, allocations: 0 / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.4058, allocations: 102.3 kB / 0.8232 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.4058, allocations: 0 / 0.8232 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002712/0.4061, allocations: 142.6 kB / 0.8233 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.4061, allocations: 58.7 kB / 0.8234 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.4062, allocations: 141.5 kB / 0.8235 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.4062, allocations: 35.42 kB / 0.8235 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.4063, allocations: 93.34 kB / 0.8236 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.4063, allocations: 26.11 kB / 0.8236 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.4064, allocations: 66.94 kB / 0.8237 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.4065, allocations: 321.3 kB / 0.824 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.4067, allocations: 179.1 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.4068, allocations: 231.3 kB / 0.8244 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.4071, allocations: 245.7 kB / 0.8246 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4071, allocations: 1.125 kB / 0.8246 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004791/0.4075, allocations: 472.5 kB / 0.8251 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.4076, allocations: 101.1 kB / 0.8252 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4076, allocations: 1.438 kB / 0.8252 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4076, allocations: 3.312 kB / 0.8252 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.857e-05/0.4076, allocations: 3.734 kB / 0.8252 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4076, allocations: 6.109 kB / 0.8252 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.4079, allocations: 80.92 kB / 0.8253 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.4079, allocations: 24.36 kB / 0.8253 GB, free: 12.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.458e-05/0.408, allocations: 141.6 kB / 0.8254 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.408, allocations: 6.5 kB / 0.8254 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.408, allocations: 11.28 kB / 0.8255 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.408, allocations: 2.625 kB / 0.8255 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4081, allocations: 0.6094 kB / 0.8255 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4081, allocations: 0.6562 kB / 0.8255 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.587e-05/0.4081, allocations: 131.3 kB / 0.8256 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4081, allocations: 0 / 0.8256 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-06/0.4082, allocations: 10.23 kB / 0.8256 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4082, allocations: 1.438 kB / 0.8256 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4082, allocations: 6.375 kB / 0.8256 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4082, allocations: 1.125 kB / 0.8256 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4082, allocations: 0 / 0.8256 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.4083, allocations: 141 kB / 0.8257 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.4083, allocations: 12.56 kB / 0.8257 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.4083, allocations: 1.172 kB / 0.8257 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.4083, allocations: 2.812 kB / 0.8258 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.4084, allocations: 10.84 kB / 0.8258 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4084, allocations: 4.594 kB / 0.8258 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.4084, allocations: 101.4 kB / 0.8259 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4084, allocations: 0 / 0.8259 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001788/0.4086, allocations: 47.34 kB / 0.8259 GB, free: 12.35 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001096/0.4087, allocations: 107.2 kB / 0.826 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.4091, allocations: 413.5 kB / 0.8264 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4091, allocations: 3.938 kB / 0.8264 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.4091, allocations: 33.33 kB / 0.8264 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.4093, allocations: 33.5 kB / 0.8265 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.4096, allocations: 221.5 kB / 0.8267 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.568e-05/0.4097, allocations: 81.48 kB / 0.8268 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.4097, allocations: 13.27 kB / 0.8268 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.4097, allocations: 0 / 0.8268 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.002856/0.4126, allocations: 1.912 MB / 0.8286 GB, free: 11.41 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.208875568117946] Failed to read output from testmodel.py, exit status != 0: 0.4197992477566004 0.42810429399999994 0.021919659 Calling exit ...