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.00231/0.00231, allocations: 85.48 kB / 19.44 MB, free: 340 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.002115/0.002115, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.337/1.337, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 178] 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: Performance of FrontEnd - loaded program: time 2.766e-06/2.766e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.591e-05/3.867e-05, allocations: 3.031 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002088/0.002127, allocations: 0.7204 MB / 0.5203 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.004024, allocations: 1.167 MB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.004076, allocations: 0 / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.004107, allocations: 5.281 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.004201, allocations: 19.84 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.00471, allocations: 132.8 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.00493, allocations: 119.7 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.005027, allocations: 14.12 kB / 0.5218 GB, free: 388 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.005185, allocations: 71.88 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.944e-05/0.005284, allocations: 31.89 kB / 0.5219 GB, free: 284 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.005321, allocations: 12 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.005412, allocations: 31.86 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.005442, allocations: 11.97 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.005515, allocations: 33.77 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.00576, allocations: 135.6 kB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.005763, allocations: 0 / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005764, allocations: 0 / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005769, allocations: 0 / 0.5221 GB, free: 60 kB / 490.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.0007256/0.006494, allocations: 438.3 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.006535, allocations: 8.938 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.006607, allocations: 8.938 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.007039, allocations: 120.5 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.007059, allocations: 8.312 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.007085, allocations: 8.375 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.007258, allocations: 55.14 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.007279, allocations: 4.172 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.007292, allocations: 5.406 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007297, allocations: 4.375 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.007428, allocations: 33.38 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.007984, allocations: 319.6 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.008179, allocations: 64.25 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.008275, allocations: 31.8 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.008294, allocations: 4.688 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.008491, allocations: 90.19 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.008492, allocations: 4 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003976/0.00889, allocations: 125.8 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.008942, allocations: 52.41 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.009102, allocations: 185.9 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.009139, allocations: 30.3 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.009267, allocations: 146.9 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.009302, allocations: 24.61 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.009394, allocations: 43.36 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002768/0.00967, allocations: 0.4931 MB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.009842, allocations: 85.67 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.01005, allocations: 142.4 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.01033, allocations: 156.1 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01034, allocations: 0.8125 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004866/0.01082, allocations: 251.9 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.01087, allocations: 37.62 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01088, allocations: 4 kB / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.0109, allocations: 0 / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.01099, allocations: 12 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.01099, allocations: 4 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.01117, allocations: 27 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.01119, allocations: 4 kB / 0.525 GB, free: 12.81 MB / 0.4948 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.0001558/0.01135, allocations: 172.5 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.01137, allocations: 15.88 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.01142, allocations: 12.44 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01142, allocations: 0 / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01142, allocations: 1.5 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01143, allocations: 0 / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.01193, allocations: 373.3 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01193, allocations: 0.5 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.01197, allocations: 8.844 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01197, allocations: 0 / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.01198, allocations: 4 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01199, allocations: 4.734 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01199, allocations: 0 / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.01233, allocations: 248.5 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.01234, allocations: 8.453 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01236, allocations: 7.047 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.01243, allocations: 8 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.01248, allocations: 7.984 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01249, allocations: 0 / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.67e-05/0.01258, allocations: 139.2 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01258, allocations: 0 / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002494/0.01283, allocations: 31.88 kB / 0.526 GB, free: 11.72 MB / 0.4948 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.0002001/0.01303, allocations: 108.2 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.01345, allocations: 212.7 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01345, allocations: 0 / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01356, allocations: 37.05 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.01385, allocations: 21.67 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.0143, allocations: 171.6 kB / 0.5265 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.01439, allocations: 76.48 kB / 0.5266 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.01442, allocations: 4 kB / 0.5266 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.01446, allocations: 13.91 kB / 0.5266 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.01446, allocations: 0 / 0.5266 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.005247/0.0197, allocations: 1.573 MB / 0.5281 GB, free: 9.539 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1769449290586635]