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.001314/0.001314, allocations: 93.06 kB / 19.65 MB, free: 280 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.001605/0.001605, allocations: 169 kB / 23.02 MB, free: 1.551 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.89/0.89, allocations: 177.1 MB / 203.4 MB, free: 5.176 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.7373/0.7373, allocations: 154.6 MB / 414.5 MB, free: 0.6094 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 2.184e-06/2.184e-06, allocations: 0 / 0.5203 GB, free: 1.094 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.523e-05, allocations: 6.859 kB / 0.5203 GB, free: 1.086 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001728/0.001753, allocations: 0.7345 MB / 0.521 GB, free: 380 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003392, allocations: 1.194 MB / 0.5222 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.003448, allocations: 4 kB / 0.5222 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.003484, allocations: 3.938 kB / 0.5222 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.003573, allocations: 13.47 kB / 0.5222 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.004115, allocations: 131.6 kB / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004312, allocations: 121.7 kB / 0.5225 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004417, allocations: 11.98 kB / 0.5225 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.004558, allocations: 67.89 kB / 0.5225 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.004664, allocations: 40.77 kB / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.004698, allocations: 12 kB / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.004774, allocations: 16 kB / 0.5226 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.004804, allocations: 16.48 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.004874, allocations: 40.47 kB / 0.5227 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.005083, allocations: 95.75 kB / 0.5228 GB, free: 14.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005085, allocations: 0.875 kB / 0.5228 GB, free: 14.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005086, allocations: 0 / 0.5228 GB, free: 14.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.00509, allocations: 0.9375 kB / 0.5228 GB, free: 14.61 MB / 458.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.0005752/0.005666, allocations: 430.1 kB / 0.5232 GB, free: 14.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.005708, allocations: 13.78 kB / 0.5232 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.005774, allocations: 12.88 kB / 0.5232 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.00588, allocations: 126.3 kB / 0.5233 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.005899, allocations: 4.375 kB / 0.5233 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.005922, allocations: 12.36 kB / 0.5233 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.006089, allocations: 64.69 kB / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006097, allocations: 192 / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.006109, allocations: 4.375 kB / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.006117, allocations: 384 / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.006167, allocations: 12.69 kB / 0.5234 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.006681, allocations: 319.6 kB / 0.5237 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.006813, allocations: 48.52 kB / 0.5238 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.00685, allocations: 11.69 kB / 0.5238 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.00686, allocations: 5.25 kB / 0.5238 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.006992, allocations: 93.08 kB / 0.5239 GB, free: 13.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.006994, allocations: 0 / 0.5239 GB, free: 13.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002632/0.007257, allocations: 95.69 kB / 0.524 GB, free: 13.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.007297, allocations: 51.41 kB / 0.524 GB, free: 13.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.007735, allocations: 181.9 kB / 0.5242 GB, free: 12.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.007765, allocations: 25.7 kB / 0.5242 GB, free: 12.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.007842, allocations: 138.9 kB / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.00787, allocations: 21.73 kB / 0.5244 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.007955, allocations: 47.34 kB / 0.5244 GB, free: 12.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000424/0.008379, allocations: 0.4884 MB / 0.5249 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.008488, allocations: 61.67 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.008612, allocations: 115.3 kB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.008765, allocations: 125.6 kB / 0.5252 GB, free: 11.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.008769, allocations: 0.875 kB / 0.5252 GB, free: 11.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003229/0.009092, allocations: 209.9 kB / 0.5254 GB, free: 11.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.009199, allocations: 44.44 kB / 0.5254 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.009206, allocations: 1.031 kB / 0.5254 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.009221, allocations: 4 kB / 0.5254 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.009308, allocations: 8 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.009315, allocations: 5.516 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.00944, allocations: 23.98 kB / 0.5255 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.00946, allocations: 9.062 kB / 0.5255 GB, free: 11.57 MB / 458.7 MB 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 9.707e-05/0.009557, allocations: 168.5 kB / 0.5256 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.009579, allocations: 16.58 kB / 0.5256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.009606, allocations: 8.438 kB / 0.5256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.009609, allocations: 1.281 kB / 0.5256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.009613, allocations: 0 / 0.5256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.009619, allocations: 4 kB / 0.5257 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.009945, allocations: 350.1 kB / 0.526 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.009947, allocations: 0 / 0.526 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.009994, allocations: 8.672 kB / 0.526 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.009997, allocations: 0 / 0.526 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.01001, allocations: 0.7812 kB / 0.526 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01001, allocations: 0 / 0.526 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01001, allocations: 3.094 kB / 0.526 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.0102, allocations: 235.9 kB / 0.5262 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.01021, allocations: 3.953 kB / 0.5262 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01023, allocations: 0 / 0.5262 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.01029, allocations: 4 kB / 0.5262 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.01034, allocations: 11.98 kB / 0.5262 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01035, allocations: 3.938 kB / 0.5262 GB, free: 10.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.626e-05/0.01041, allocations: 136.9 kB / 0.5264 GB, free: 10.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01041, allocations: 0 / 0.5264 GB, free: 10.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002768/0.01068, allocations: 23.03 kB / 0.5264 GB, free: 10.55 MB / 458.7 MB 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.0001377/0.01082, allocations: 115.2 kB / 0.5265 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.01108, allocations: 168.7 kB / 0.5267 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01108, allocations: 4 kB / 0.5267 GB, free: 10.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.01113, allocations: 25.64 kB / 0.5267 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.01141, allocations: 24.06 kB / 0.5267 GB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.01178, allocations: 160.3 kB / 0.5269 GB, free: 10 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.01182, allocations: 59.34 kB / 0.5269 GB, free: 9.926 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.01185, allocations: 4.656 kB / 0.5269 GB, free: 9.922 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.01188, allocations: 13 kB / 0.5269 GB, free: 9.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01189, allocations: 0 / 0.5269 GB, free: 9.91 MB / 458.7 MB Notification: Performance of Templates: time 0.004787/0.01667, allocations: 1.702 MB / 0.5286 GB, free: 8.32 MB / 458.7 MB " [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.4556797738187015]