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.001342/0.001342, allocations: 80.61 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00142/0.00142, allocations: 159.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.296/1.296, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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 2.594e-06/2.594e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.174e-05, allocations: 12 kB / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00196/0.001991, allocations: 0.7096 MB / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.003844, allocations: 1.17 MB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.003913, allocations: 0 / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.003952, allocations: 3.938 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.778e-05/0.00405, allocations: 15.84 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.004651, allocations: 138.9 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.004848, allocations: 119.7 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.004946, allocations: 13.69 kB / 0.6207 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.005106, allocations: 67.88 kB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.00521, allocations: 35.94 kB / 0.6208 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.005244, allocations: 8 kB / 0.6208 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.005311, allocations: 23.94 kB / 0.6208 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.005344, allocations: 23.91 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.005411, allocations: 31.92 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.005647, allocations: 127.7 kB / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00565, allocations: 0 / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00565, allocations: 0 / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005655, allocations: 0 / 0.621 GB, free: 2.148 MB / 0.5294 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.0006507/0.006306, allocations: 347.7 kB / 0.6213 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.006348, allocations: 8.031 kB / 0.6213 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.006412, allocations: 8.922 kB / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.006544, allocations: 125.6 kB / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.006565, allocations: 8.375 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.006593, allocations: 8.375 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.006811, allocations: 62.22 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.006822, allocations: 192 / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.006839, allocations: 4.375 kB / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.006844, allocations: 384 / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.007058, allocations: 51.88 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.007593, allocations: 256.4 kB / 0.6218 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.007801, allocations: 54.61 kB / 0.6219 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.007918, allocations: 32.95 kB / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.007936, allocations: 4 kB / 0.6219 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.008219, allocations: 95.22 kB / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.00822, allocations: 0 / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0005051/0.008725, allocations: 149.6 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.008789, allocations: 51.41 kB / 0.6222 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.0089, allocations: 121.8 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.008934, allocations: 25.7 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.009011, allocations: 88.14 kB / 0.6224 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.009039, allocations: 19.86 kB / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.009125, allocations: 41.69 kB / 0.6225 GB, free: 460 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.009274, allocations: 318.8 kB / 0.6228 GB, free: 132 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.009479, allocations: 85.66 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.009716, allocations: 121.8 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.01002, allocations: 141.9 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.01003, allocations: 4 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005277/0.01056, allocations: 240.9 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.0106, allocations: 33.64 kB / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01061, allocations: 4 kB / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01062, allocations: 0 / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01073, allocations: 19.92 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.01074, allocations: 4 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.01096, allocations: 40.02 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.01099, allocations: 7.938 kB / 0.6234 GB, free: 15.37 MB / 0.545 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 0.0001216/0.01111, allocations: 126.8 kB / 0.6236 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.01113, allocations: 11.89 kB / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.01116, allocations: 4.438 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01116, allocations: 4 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01117, allocations: 3.938 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01117, allocations: 0 / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.01165, allocations: 314.2 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01165, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.01171, allocations: 11.97 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01171, allocations: 4 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01172, allocations: 3.938 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01173, allocations: 4.062 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01173, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.01209, allocations: 215.4 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.0121, allocations: 11.94 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.01212, allocations: 4 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.01221, allocations: 4 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.01225, allocations: 7.984 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.01226, allocations: 7.984 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.582e-05/0.01232, allocations: 90.78 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01232, allocations: 3.938 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002765/0.0126, allocations: 27.94 kB / 0.6243 GB, free: 14.46 MB / 0.545 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.0001677/0.01276, allocations: 107.2 kB / 0.6244 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.01321, allocations: 193 kB / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01321, allocations: 0 / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01334, allocations: 36.44 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.01363, allocations: 18.27 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.01409, allocations: 169.8 kB / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.938e-05/0.01417, allocations: 75.33 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.0142, allocations: 4 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.01424, allocations: 12.5 kB / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.01424, allocations: 0 / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of Templates: time 0.005192/0.01943, allocations: 1.554 MB / 0.6264 GB, free: 12.28 MB / 0.545 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.931897521018982] Failed to read output from testmodel.py, exit status != 0: 0.028148245066404343 0.043170893 0.03446848 Calling exit ...