Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007278/0.0007278, allocations: 72.45 kB / 19.91 MB, free: 12 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.0007394/0.0007394, 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.8492/0.8492, allocations: 177.2 MB / 203.6 MB, free: 5.363 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6756/0.6756, allocations: 154.7 MB / 414.7 MB, free: 0.6797 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.0009176/0.0009176, allocations: 76.17 kB / 0.6196 GB, free: 13.07 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.3987/0.3997, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001633/0.4013, allocations: 0.7134 MB / 0.7198 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.4025, allocations: 1.176 MB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.4026, allocations: 1.125 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.4026, allocations: 4.641 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.4027, allocations: 15.42 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.4032, allocations: 131 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.4033, allocations: 121.3 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4034, allocations: 14.7 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4036, allocations: 72.66 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.4036, allocations: 37.52 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.4037, allocations: 10.81 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.286e-05/0.4037, allocations: 26.34 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.4037, allocations: 13.7 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.4038, allocations: 37.59 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.404, allocations: 132.8 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.404, allocations: 0 / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.404, allocations: 0 / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.404, allocations: 1.156 kB / 0.7216 GB, free: 22.05 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.0006201/0.4046, allocations: 340.2 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.4047, allocations: 9.75 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.4048, allocations: 10.91 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.4049, allocations: 119.7 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4049, allocations: 8.188 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.4049, allocations: 10.5 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.4051, allocations: 63.98 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4051, allocations: 192 / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4052, allocations: 9.594 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4052, allocations: 0 / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.4053, allocations: 42.48 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.4058, allocations: 260.5 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.406, allocations: 55.86 kB / 0.7224 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/0.4061, allocations: 38.45 kB / 0.7225 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.4061, allocations: 1.219 kB / 0.7225 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.4063, allocations: 100.5 kB / 0.7226 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.4063, allocations: 0 / 0.7226 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003902/0.4067, allocations: 142.8 kB / 0.7227 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4067, allocations: 53.11 kB / 0.7228 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.4068, allocations: 117.1 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4068, allocations: 33.73 kB / 0.7229 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.4069, allocations: 89.28 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.4069, allocations: 28.84 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.407, allocations: 37.48 kB / 0.7231 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.407, allocations: 316.5 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.4071, allocations: 82.02 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.4073, allocations: 119.9 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.4074, allocations: 141.9 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4074, allocations: 1.5 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002857/0.4077, allocations: 241.2 kB / 0.7239 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.4077, allocations: 39.62 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4077, allocations: 0.9375 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4078, allocations: 2.156 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/0.4078, allocations: 22.95 kB / 0.724 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4078, allocations: 3.016 kB / 0.724 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.4079, allocations: 38.55 kB / 0.724 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.408, allocations: 6.859 kB / 0.724 GB, free: 20.03 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.896e-05/0.408, allocations: 123.7 kB / 0.7241 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.408, allocations: 7.516 kB / 0.7242 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.4081, allocations: 14.77 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4081, allocations: 6.109 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4081, allocations: 3.938 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4081, allocations: 1.25 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.4083, allocations: 318.2 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4083, allocations: 0 / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.4084, allocations: 8.719 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4084, allocations: 5 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.4084, allocations: 1.75 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4084, allocations: 5.156 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4084, allocations: 0 / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.4085, allocations: 210.2 kB / 0.7247 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.4086, allocations: 15.17 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4086, allocations: 2.844 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.4086, allocations: 6.031 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.4087, allocations: 6.156 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.4087, allocations: 7.328 kB / 0.7247 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.4087, allocations: 91.33 kB / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4087, allocations: 4 kB / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001886/0.4089, allocations: 21.72 kB / 0.7249 GB, free: 19.36 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.742e-05/0.409, allocations: 104 kB / 0.7249 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.4092, allocations: 196.6 kB / 0.7251 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4092, allocations: 0 / 0.7251 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.4093, allocations: 46.23 kB / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.4095, allocations: 13.08 kB / 0.7252 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.4098, allocations: 192.5 kB / 0.7254 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.4098, allocations: 70.88 kB / 0.7254 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.4099, allocations: 13.56 kB / 0.7255 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4099, allocations: 0 / 0.7255 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.002477/0.4123, allocations: 1.291 MB / 0.7267 GB, free: 18.76 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.103437746874988] Failed to read output from testmodel.py, exit status != 0: 0.41843326995149255 0.42871058300000003 0.023007032 Calling exit ...