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.001368/0.001368, allocations: 88.72 kB / 19.44 MB, free: 352 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.001598/0.001598, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.518/1.518, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.252/1.252, allocations: 154.6 MB / 414.1 MB, free: 0.625 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.174e-06/2.174e-06, allocations: 0.875 kB / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.296e-05, allocations: 4.5 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001914/0.001947, allocations: 0.7169 MB / 0.5203 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.00386, allocations: 1.174 MB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.00392, allocations: 3.375 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.00396, allocations: 3.938 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.004058, allocations: 15.88 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.004628, allocations: 131.6 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.004847, allocations: 119.7 kB / 0.5217 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.004951, allocations: 15.97 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.005111, allocations: 67.88 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005213, allocations: 28.67 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.005249, allocations: 12.56 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.005338, allocations: 31.91 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.005371, allocations: 12.88 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.005445, allocations: 31.97 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.005688, allocations: 137.2 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.00569, allocations: 0 / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005691, allocations: 0 / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005696, allocations: 0 / 0.5221 GB, free: 48 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.0007126/0.006408, allocations: 332.8 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.006451, allocations: 8.031 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.006523, allocations: 10.94 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.006657, allocations: 121.6 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.006677, allocations: 4.375 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.006707, allocations: 12.38 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.006913, allocations: 54.23 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.006923, allocations: 4.75 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.00694, allocations: 12.36 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.006945, allocations: 0.9688 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.007134, allocations: 41.19 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.00765, allocations: 261.9 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.007851, allocations: 62.53 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.007963, allocations: 25.75 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.007979, allocations: 4.875 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.008235, allocations: 94.33 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.008236, allocations: 0 / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005004/0.008736, allocations: 145.7 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.008793, allocations: 55.41 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.008916, allocations: 115.9 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.008956, allocations: 33.7 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.009053, allocations: 101.8 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.009081, allocations: 19.84 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.009175, allocations: 37.7 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.009375, allocations: 318.8 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.009574, allocations: 84.41 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.009805, allocations: 114 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.01013, allocations: 143.9 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.01014, allocations: 4 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005473/0.01068, allocations: 253.8 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.01074, allocations: 34.36 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01074, allocations: 7.938 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.01077, allocations: 0.9375 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.01087, allocations: 19.92 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01088, allocations: 5.219 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.0111, allocations: 32.58 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.01113, allocations: 4 kB / 0.5245 GB, free: 13.29 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.0001312/0.01126, allocations: 125.7 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.01129, allocations: 19.88 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.01132, allocations: 8.438 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01132, allocations: 0 / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01132, allocations: 0 / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.01132, allocations: 0 / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.01183, allocations: 322 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01183, allocations: 7.125 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.01189, allocations: 7.984 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.0119, allocations: 0 / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01191, allocations: 4 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01191, allocations: 4 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01191, allocations: 0 / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.01228, allocations: 213.2 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.01229, allocations: 3.953 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.01231, allocations: 11.98 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.0124, allocations: 4 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.01245, allocations: 3.984 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.01245, allocations: 6.406 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.01253, allocations: 91.27 kB / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01253, allocations: 0 / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002673/0.0128, allocations: 24 kB / 0.5253 GB, free: 12.4 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.0001878/0.01299, allocations: 100.1 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.01344, allocations: 195 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01344, allocations: 0 / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.01358, allocations: 43.91 kB / 0.5257 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01388, allocations: 19.02 kB / 0.5257 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.01432, allocations: 164.8 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.639e-05/0.01441, allocations: 68.16 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.01444, allocations: 8.578 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.01448, allocations: 13.12 kB / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.01448, allocations: 0 / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.004943/0.01942, allocations: 1.575 MB / 0.5275 GB, free: 10.26 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.921172390924767]