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.0009084/0.0009084, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009534/0.0009534, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.8763/0.8763, allocations: 177.2 MB / 203.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7428/0.7428, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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 179] 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 1.843e-06/1.843e-06, allocations: 0 / 0.5208 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.418e-05, allocations: 4.078 kB / 0.5208 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001124/0.001139, allocations: 0.7247 MB / 0.5215 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.002421, allocations: 1.199 MB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.002462, allocations: 1.125 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.002486, allocations: 3.938 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.002548, allocations: 15.77 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.002891, allocations: 133.3 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.003013, allocations: 119.7 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.941e-05/0.003083, allocations: 17.53 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.656e-05/0.003179, allocations: 67.88 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.003245, allocations: 35.89 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.003264, allocations: 12 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.003313, allocations: 25.06 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.00333, allocations: 7.938 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.003365, allocations: 35.95 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.00348, allocations: 100.4 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003481, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.8e-07/0.003482, allocations: 1.281 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.003485, allocations: 4 kB / 0.5232 GB, free: 15.41 MB / 0.4948 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.0003563/0.003841, allocations: 426.1 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.003873, allocations: 9.25 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.003907, allocations: 16.88 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.052e-05/0.003968, allocations: 115.7 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.003979, allocations: 9.141 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.003995, allocations: 12.38 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.588e-05/0.004081, allocations: 63.72 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.004087, allocations: 192 / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.004093, allocations: 6.969 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004098, allocations: 384 / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.00412, allocations: 15.92 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.004379, allocations: 296.4 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.982e-05/0.004448, allocations: 43.05 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.004465, allocations: 12.41 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.004472, allocations: 8 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.865e-05/0.004551, allocations: 73.52 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.004552, allocations: 1.094 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000142/0.004694, allocations: 97.72 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.004718, allocations: 56.06 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.004782, allocations: 177.9 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.004798, allocations: 34.2 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.004846, allocations: 148.2 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.00486, allocations: 11.89 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.004906, allocations: 43.34 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.005005, allocations: 0.4923 MB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.005052, allocations: 54.19 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.005113, allocations: 100.1 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/0.005194, allocations: 126 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005196, allocations: 0 / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00017/0.005366, allocations: 194.7 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.00539, allocations: 41.69 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005394, allocations: 4.656 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.005404, allocations: 0 / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.005453, allocations: 17.52 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005456, allocations: 4 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.005534, allocations: 19.98 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.005547, allocations: 17.08 kB / 0.5258 GB, free: 12.44 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 6.719e-05/0.005615, allocations: 170.4 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.005626, allocations: 8.828 kB / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.005648, allocations: 16.38 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00565, allocations: 1.156 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.005652, allocations: 0 / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005654, allocations: 0 / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.00584, allocations: 318.5 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.005841, allocations: 0 / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.005859, allocations: 6.781 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.005863, allocations: 7.938 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.005867, allocations: 0 / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.005871, allocations: 7.922 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005871, allocations: 0 / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.624e-05/0.005968, allocations: 223.9 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.005974, allocations: 3.984 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.005988, allocations: 10.97 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.006022, allocations: 4 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.006051, allocations: 11.98 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.006055, allocations: 0 / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.006089, allocations: 131.2 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006089, allocations: 0 / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001719/0.006261, allocations: 24 kB / 0.5268 GB, free: 11.46 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 9.284e-05/0.006354, allocations: 104.6 kB / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.006505, allocations: 160.7 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.006507, allocations: 5.25 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.006537, allocations: 23.67 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.006707, allocations: 12.7 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.006928, allocations: 174.2 kB / 0.5272 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.006958, allocations: 59.36 kB / 0.5273 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.006979, allocations: 11.92 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.007053, allocations: 86.19 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of SimCode: time 4.3e-07/0.007053, allocations: 0 / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.003307/0.01036, allocations: 1.726 MB / 0.529 GB, free: 9.141 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: 3.3568329261615872]