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.0007492/0.0007492, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007384/0.0007384, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.8859/0.8859, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.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.7037/0.7037, allocations: 155 MB / 415 MB, free: 500 kB / 378.7 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 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.0008389/0.0008389, allocations: 68.95 kB / 0.6199 GB, free: 12.78 MB / 0.5886 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.4035/0.4043, allocations: 102 MB / 0.7195 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00154/0.4059, allocations: 0.7214 MB / 0.7202 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.4071, allocations: 1.172 MB / 0.7213 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.4071, allocations: 1.062 kB / 0.7213 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.4071, allocations: 4.641 kB / 0.7213 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.4072, allocations: 19.38 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.4077, allocations: 137.5 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.4079, allocations: 117.5 kB / 0.7216 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.408, allocations: 14.97 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4081, allocations: 63.44 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.4082, allocations: 37.97 kB / 0.7217 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.4082, allocations: 10.5 kB / 0.7217 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-05/0.4083, allocations: 31.44 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.4083, allocations: 12.12 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.4084, allocations: 38.02 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.4086, allocations: 141.2 kB / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4086, allocations: 0 / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4086, allocations: 0 / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4086, allocations: 0 / 0.7219 GB, free: 21.82 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.0004997/0.4091, allocations: 336.9 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4092, allocations: 15.59 kB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.4092, allocations: 10.98 kB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.4093, allocations: 112.1 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4093, allocations: 3.656 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.4093, allocations: 11.58 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.4095, allocations: 70.16 kB / 0.7225 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4095, allocations: 1.219 kB / 0.7225 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4095, allocations: 8.547 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4095, allocations: 1.062 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.4096, allocations: 38.97 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.41, allocations: 263.1 kB / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4101, allocations: 64.7 kB / 0.7228 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.4102, allocations: 34.52 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4102, allocations: 1.156 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4104, allocations: 88.11 kB / 0.723 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.354e-06/0.4104, allocations: 1.188 kB / 0.723 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003038/0.4107, allocations: 149.8 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.4107, allocations: 53.2 kB / 0.7232 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.4108, allocations: 117.5 kB / 0.7233 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.4108, allocations: 32.98 kB / 0.7233 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.4108, allocations: 89.84 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.4108, allocations: 20.19 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.4109, allocations: 38.89 kB / 0.7234 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.456e-05/0.4109, allocations: 315.3 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.411, allocations: 83.02 kB / 0.7238 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.4111, allocations: 121.5 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.4113, allocations: 137.7 kB / 0.7241 GB, free: 20 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4113, allocations: 0 / 0.7241 GB, free: 20 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002877/0.4116, allocations: 246.9 kB / 0.7243 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.4116, allocations: 39.12 kB / 0.7243 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4117, allocations: 1.125 kB / 0.7243 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4117, allocations: 2.375 kB / 0.7243 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.4117, allocations: 14.72 kB / 0.7244 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4117, allocations: 2.812 kB / 0.7244 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.4119, allocations: 34.8 kB / 0.7244 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.4119, allocations: 12.45 kB / 0.7244 GB, free: 19.8 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.984e-05/0.4119, allocations: 126.8 kB / 0.7245 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-06/0.4119, allocations: 6.969 kB / 0.7245 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.412, allocations: 11.16 kB / 0.7245 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.412, allocations: 9.703 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.412, allocations: 0 / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.412, allocations: 1.656 kB / 0.7246 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.4123, allocations: 325.6 kB / 0.7249 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4123, allocations: 5.219 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.4123, allocations: 7.328 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4123, allocations: 2.172 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.4123, allocations: 1.188 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4123, allocations: 0 / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4123, allocations: 2.266 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.4125, allocations: 217.4 kB / 0.7251 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.4125, allocations: 15.23 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.4125, allocations: 2.109 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.4126, allocations: 10.44 kB / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.4126, allocations: 6.094 kB / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.4126, allocations: 7.297 kB / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.702e-05/0.4126, allocations: 94.02 kB / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4126, allocations: 0 / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001801/0.4128, allocations: 20.64 kB / 0.7252 GB, free: 19.12 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 0.000113/0.4129, allocations: 106.4 kB / 0.7253 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.4132, allocations: 195 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4132, allocations: 1.125 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.4133, allocations: 40.67 kB / 0.7256 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.4135, allocations: 13.19 kB / 0.7256 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.4138, allocations: 188.6 kB / 0.7258 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.4138, allocations: 79.89 kB / 0.7258 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.4139, allocations: 12.62 kB / 0.7258 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.4139, allocations: 1 kB / 0.7258 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.002686/0.4165, allocations: 1.282 MB / 0.7271 GB, free: 18.52 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.250600792001933] Failed to read output from testmodel.py, exit status != 0: 0.42288970993831754 0.432733487 0.022289243 Calling exit ...