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.001017/0.001017, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001783/0.001783, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.986/0.986, allocations: 177.1 MB / 204.5 MB, free: 5.52 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-535:34: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-535:42: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.7922/0.7922, allocations: 154.9 MB / 415.9 MB, free: 272 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5219 GB, free: 480 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.416e-05, allocations: 4.562 kB / 0.5219 GB, free: 476 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001511/0.001535, allocations: 0.7448 MB / 0.5226 GB, free: 15.75 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.002729, allocations: 1.186 MB / 0.5238 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.002779, allocations: 0 / 0.5238 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.002807, allocations: 3.938 kB / 0.5238 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.854e-05/0.002885, allocations: 23.28 kB / 0.5238 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.003263, allocations: 132.6 kB / 0.5239 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.003401, allocations: 120.9 kB / 0.524 GB, free: 14.28 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.003485, allocations: 11.98 kB / 0.5241 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.00359, allocations: 59.95 kB / 0.5241 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.00367, allocations: 36.75 kB / 0.5241 GB, free: 14.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.003693, allocations: 12 kB / 0.5242 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.003749, allocations: 24.52 kB / 0.5242 GB, free: 14.14 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.003771, allocations: 15.92 kB / 0.5242 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.003809, allocations: 36.66 kB / 0.5242 GB, free: 14.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.003941, allocations: 95.67 kB / 0.5243 GB, free: 14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003944, allocations: 4.719 kB / 0.5243 GB, free: 13.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003945, allocations: 0 / 0.5243 GB, free: 13.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.003948, allocations: 0.5 kB / 0.5243 GB, free: 13.99 MB / 458.7 MB 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.0004041/0.004352, allocations: 423 kB / 0.5247 GB, free: 13.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.004386, allocations: 12.03 kB / 0.5247 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.004428, allocations: 15.86 kB / 0.5248 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.004513, allocations: 124.4 kB / 0.5249 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.004526, allocations: 4.375 kB / 0.5249 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.004541, allocations: 8.375 kB / 0.5249 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.00466, allocations: 62.94 kB / 0.525 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.004668, allocations: 192 / 0.525 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.004676, allocations: 384 / 0.525 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004681, allocations: 384 / 0.525 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.00471, allocations: 20.97 kB / 0.525 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.005022, allocations: 296.2 kB / 0.5253 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.005136, allocations: 44.3 kB / 0.5253 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.005159, allocations: 16.62 kB / 0.5253 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.005166, allocations: 0 / 0.5253 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.996e-05/0.005266, allocations: 82.55 kB / 0.5254 GB, free: 12.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.005267, allocations: 3.938 kB / 0.5254 GB, free: 12.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001699/0.005437, allocations: 89.56 kB / 0.5255 GB, free: 12.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.005467, allocations: 55.41 kB / 0.5255 GB, free: 12.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.00555, allocations: 178.8 kB / 0.5257 GB, free: 12.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.005569, allocations: 33.7 kB / 0.5257 GB, free: 12.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.00562, allocations: 130.9 kB / 0.5259 GB, free: 12.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.005641, allocations: 29.8 kB / 0.5259 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.005693, allocations: 43.34 kB / 0.5259 GB, free: 12.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.0058, allocations: 0.4923 MB / 0.5264 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.005855, allocations: 53.69 kB / 0.5265 GB, free: 11.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.005921, allocations: 104 kB / 0.5266 GB, free: 11.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.006012, allocations: 122 kB / 0.5267 GB, free: 11.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006014, allocations: 1 kB / 0.5267 GB, free: 11.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001904/0.006204, allocations: 194.3 kB / 0.5269 GB, free: 11.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.006238, allocations: 41.69 kB / 0.5269 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.006244, allocations: 3.938 kB / 0.5269 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.006252, allocations: 4 kB / 0.5269 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.006314, allocations: 8.781 kB / 0.5269 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.006318, allocations: 4.047 kB / 0.5269 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.006402, allocations: 26.02 kB / 0.5269 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.006417, allocations: 8 kB / 0.527 GB, free: 11.03 MB / 458.7 MB 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 8.255e-05/0.006499, allocations: 178.3 kB / 0.5271 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.006512, allocations: 11.95 kB / 0.5271 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.006534, allocations: 16.38 kB / 0.5272 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006536, allocations: 0 / 0.5272 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006538, allocations: 0 / 0.5272 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.006541, allocations: 0 / 0.5272 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.006764, allocations: 313.9 kB / 0.5275 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006766, allocations: 3.938 kB / 0.5275 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.006795, allocations: 10.41 kB / 0.5275 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006797, allocations: 7.938 kB / 0.5275 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.006802, allocations: 0 / 0.5275 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006803, allocations: 0 / 0.5275 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006804, allocations: 0 / 0.5275 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.006917, allocations: 227.9 kB / 0.5277 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.006925, allocations: 4.641 kB / 0.5277 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.006939, allocations: 11.92 kB / 0.5277 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.006975, allocations: 0.9688 kB / 0.5277 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.007003, allocations: 11.98 kB / 0.5277 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.00701, allocations: 8.438 kB / 0.5277 GB, free: 10.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.004e-05/0.00705, allocations: 133.6 kB / 0.5279 GB, free: 10.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00705, allocations: 1.031 kB / 0.5279 GB, free: 10.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.007221, allocations: 20 kB / 0.5279 GB, free: 10.04 MB / 458.7 MB 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.0001127/0.007334, allocations: 108.5 kB / 0.528 GB, free: 9.926 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.007498, allocations: 157.3 kB / 0.5281 GB, free: 9.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007499, allocations: 3.438 kB / 0.5281 GB, free: 9.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.00753, allocations: 27.67 kB / 0.5282 GB, free: 9.719 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.007715, allocations: 8 kB / 0.5282 GB, free: 9.711 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.007967, allocations: 170.8 kB / 0.5283 GB, free: 9.508 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.007999, allocations: 66.47 kB / 0.5284 GB, free: 9.426 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.008023, allocations: 10.8 kB / 0.5284 GB, free: 9.418 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.008102, allocations: 86.19 kB / 0.5285 GB, free: 9.332 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008102, allocations: 0 / 0.5285 GB, free: 9.332 MB / 458.7 MB Notification: Performance of Templates: time 0.00328/0.01138, allocations: 1.756 MB / 0.5302 GB, free: 7.68 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7176435659639537]