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.001587/0.001587, allocations: 82.64 kB / 19.16 MB, free: 2.535 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.001821/0.001821, allocations: 168.5 kB / 22.44 MB, free: 5.34 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.482/1.482, allocations: 177.2 MB / 202.8 MB, free: 9.188 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.341/1.341, allocations: 155 MB / 414.2 MB, free: 4.93 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: 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.002048/0.002048, allocations: 71.53 kB / 0.6191 GB, free: 4.141 MB / 0.5294 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.5124/0.5145, allocations: 102 MB / 0.7187 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001667/0.5162, allocations: 0.7229 MB / 0.7194 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.5173, allocations: 1.173 MB / 0.7206 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.5173, allocations: 0 / 0.7206 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.5174, allocations: 6.25 kB / 0.7206 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.5174, allocations: 10.62 kB / 0.7206 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.5179, allocations: 141.2 kB / 0.7207 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.518, allocations: 117 kB / 0.7209 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.5181, allocations: 6.297 kB / 0.7209 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.5182, allocations: 68.58 kB / 0.7209 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.5183, allocations: 45.66 kB / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.5183, allocations: 10.09 kB / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.5184, allocations: 22.59 kB / 0.721 GB, free: 272 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.5184, allocations: 8.844 kB / 0.721 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.5185, allocations: 47.25 kB / 0.7211 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.5187, allocations: 131.9 kB / 0.7212 GB, free: 188 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5187, allocations: 3.938 kB / 0.7212 GB, free: 184 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5187, allocations: 4.609 kB / 0.7212 GB, free: 180 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5187, allocations: 1.25 kB / 0.7212 GB, free: 180 kB / 0.6075 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.0005422/0.5192, allocations: 335.8 kB / 0.7215 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.5193, allocations: 10.84 kB / 0.7215 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.5193, allocations: 11.64 kB / 0.7215 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5194, allocations: 115.4 kB / 0.7216 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.5194, allocations: 8.641 kB / 0.7216 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.5195, allocations: 6.75 kB / 0.7217 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.5197, allocations: 71.42 kB / 0.7217 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5197, allocations: 4.188 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5197, allocations: 5.859 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5197, allocations: 1.062 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.5199, allocations: 41.72 kB / 0.7218 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.5203, allocations: 255.8 kB / 0.722 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.5205, allocations: 55.73 kB / 0.7221 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.5206, allocations: 43.08 kB / 0.7221 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.5206, allocations: 1.188 kB / 0.7221 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.5209, allocations: 88.03 kB / 0.7222 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.5209, allocations: 1.344 kB / 0.7222 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0004605/0.5213, allocations: 145.7 kB / 0.7223 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.5214, allocations: 57.53 kB / 0.7224 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.5215, allocations: 119.1 kB / 0.7225 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.5215, allocations: 31.98 kB / 0.7225 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.5216, allocations: 89.28 kB / 0.7226 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.5216, allocations: 25.7 kB / 0.7226 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.5217, allocations: 36.86 kB / 0.7227 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5218, allocations: 320.2 kB / 0.723 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.522, allocations: 82.73 kB / 0.7231 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.5222, allocations: 113.2 kB / 0.7232 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.5225, allocations: 150.3 kB / 0.7233 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5225, allocations: 4 kB / 0.7233 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004983/0.523, allocations: 243 kB / 0.7236 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.5231, allocations: 38.7 kB / 0.7236 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5231, allocations: 1.891 kB / 0.7236 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5231, allocations: 2.062 kB / 0.7236 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.5232, allocations: 18.3 kB / 0.7236 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.5232, allocations: 2.641 kB / 0.7236 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.5234, allocations: 34.55 kB / 0.7236 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.5234, allocations: 8.641 kB / 0.7237 GB, free: 14.16 MB / 0.6231 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.000112/0.5235, allocations: 133.2 kB / 0.7238 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.5236, allocations: 7.672 kB / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.5236, allocations: 10.92 kB / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5236, allocations: 0.9688 kB / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5236, allocations: 0 / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5236, allocations: 1.75 kB / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.5241, allocations: 319.3 kB / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5241, allocations: 0 / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.5241, allocations: 12.05 kB / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5241, allocations: 1.188 kB / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.5241, allocations: 1.312 kB / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5241, allocations: 1.125 kB / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5241, allocations: 0 / 0.7241 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.5245, allocations: 214.4 kB / 0.7243 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.5245, allocations: 15.31 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.5245, allocations: 2.062 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.5246, allocations: 10.12 kB / 0.7244 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5246, allocations: 11.08 kB / 0.7244 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.5246, allocations: 3.125 kB / 0.7244 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.5247, allocations: 92.64 kB / 0.7245 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5247, allocations: 0 / 0.7245 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002692/0.525, allocations: 25.45 kB / 0.7245 GB, free: 13.48 MB / 0.6231 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.000145/0.5251, allocations: 101 kB / 0.7246 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00047/0.5256, allocations: 204.2 kB / 0.7248 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5256, allocations: 0.5312 kB / 0.7248 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.5257, allocations: 36.27 kB / 0.7248 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.526, allocations: 12.5 kB / 0.7248 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.5264, allocations: 164.6 kB / 0.725 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.198e-05/0.5265, allocations: 71.75 kB / 0.725 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.5265, allocations: 13 kB / 0.7251 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.5266, allocations: 13.3 kB / 0.7251 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.5266, allocations: 0.5312 kB / 0.7251 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.004594/0.5312, allocations: 1.582 MB / 0.7266 GB, free: 12.83 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.285597620531917] Failed to read output from testmodel.py, exit status != 0: 0.5392187442630529 0.553745779 0.03196670799999994 Calling exit ...