Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.0007745/0.0007745, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.000831/0.000831, allocations: 203.8 kB / 23 MB, free: 3.125 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.9031/0.9031, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.7511/0.7511, allocations: 203.8 MB / 0.5049 GB, free: 0.6836 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [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.001005/0.001005, allocations: 71.89 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.402, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001331/0.4033, allocations: 0.7365 MB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.4044, allocations: 1.193 MB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.4044, allocations: 1.344 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.4044, allocations: 5.438 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.4045, allocations: 7.594 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.4049, allocations: 142.7 kB / 0.8211 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.4051, allocations: 117.2 kB / 0.8212 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.4052, allocations: 12.69 kB / 0.8212 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.4053, allocations: 47.92 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.4054, allocations: 44.02 kB / 0.8213 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.4054, allocations: 11.53 kB / 0.8213 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.4054, allocations: 24.89 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.4055, allocations: 16.44 kB / 0.8214 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.4055, allocations: 44 kB / 0.8214 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.4057, allocations: 107 kB / 0.8215 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4057, allocations: 0.8438 kB / 0.8215 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4057, allocations: 3.938 kB / 0.8215 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4057, allocations: 1.844 kB / 0.8215 GB, free: 23.66 MB / 0.6355 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.0003646/0.406, allocations: 339.5 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.4061, allocations: 11.28 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.4061, allocations: 11.45 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.441e-05/0.4062, allocations: 119.5 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4062, allocations: 4.625 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.4062, allocations: 12.19 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.4063, allocations: 64 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.4063, allocations: 192 / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.4063, allocations: 10.12 kB / 0.8221 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4063, allocations: 1.719 kB / 0.8221 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.897e-05/0.4064, allocations: 39 kB / 0.8221 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.4068, allocations: 303.7 kB / 0.8224 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.4069, allocations: 60.77 kB / 0.8225 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.4069, allocations: 34.55 kB / 0.8225 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.407, allocations: 0.9375 kB / 0.8225 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.4071, allocations: 90.45 kB / 0.8226 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.4071, allocations: 0 / 0.8226 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003334/0.4074, allocations: 144.8 kB / 0.8227 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.4074, allocations: 59.11 kB / 0.8228 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.4075, allocations: 121.8 kB / 0.8229 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4075, allocations: 32.55 kB / 0.8229 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.4075, allocations: 94.12 kB / 0.823 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.4075, allocations: 19.67 kB / 0.823 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.4076, allocations: 38.48 kB / 0.8231 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.807e-05/0.4076, allocations: 324 kB / 0.8234 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.4077, allocations: 53.52 kB / 0.8234 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4078, allocations: 90.53 kB / 0.8235 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.408, allocations: 141.5 kB / 0.8237 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.408, allocations: 9 kB / 0.8237 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002833/0.4083, allocations: 213.4 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4083, allocations: 36.16 kB / 0.8239 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4083, allocations: 1.062 kB / 0.8239 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4083, allocations: 2.062 kB / 0.8239 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.4084, allocations: 15.16 kB / 0.8239 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4084, allocations: 2.484 kB / 0.8239 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.4085, allocations: 34.02 kB / 0.824 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4085, allocations: 9.453 kB / 0.824 GB, free: 21.71 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 5.168e-05/0.4086, allocations: 136.2 kB / 0.8241 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.4086, allocations: 7.234 kB / 0.8241 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.4086, allocations: 10.08 kB / 0.8241 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4086, allocations: 2.125 kB / 0.8241 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4086, allocations: 4 kB / 0.8241 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4086, allocations: 1.078 kB / 0.8241 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.4089, allocations: 345.3 kB / 0.8244 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4089, allocations: 3.938 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.4089, allocations: 9.047 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4089, allocations: 0.5625 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.4089, allocations: 1.547 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4089, allocations: 5.734 kB / 0.8245 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4089, allocations: 0 / 0.8245 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.4091, allocations: 205.2 kB / 0.8247 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.4091, allocations: 6.938 kB / 0.8247 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.4091, allocations: 2.391 kB / 0.8247 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.4092, allocations: 5.828 kB / 0.8247 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.4092, allocations: 14.59 kB / 0.8247 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.4092, allocations: 7.312 kB / 0.8247 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.4092, allocations: 94.14 kB / 0.8248 GB, free: 21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4092, allocations: 4.438 kB / 0.8248 GB, free: 21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001989/0.4094, allocations: 21.2 kB / 0.8248 GB, free: 21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.982e-05/0.4095, allocations: 101.4 kB / 0.8249 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.4098, allocations: 163.3 kB / 0.8251 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4098, allocations: 4.875 kB / 0.8251 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.4098, allocations: 40.64 kB / 0.8251 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.41, allocations: 13.39 kB / 0.8251 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.4103, allocations: 195.4 kB / 0.8253 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.444e-05/0.4103, allocations: 0.6897 MB / 0.826 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.4104, allocations: 12.52 kB / 0.826 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.4104, allocations: 1.406 kB / 0.826 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.002334/0.4127, allocations: 1.266 MB / 0.8272 GB, free: 19.8 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.550452250055969] Failed to read output from testmodel.py, exit status != 0: 0.4179415989201516 0.42532348600000003 0.017964984 Calling exit ...