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.000814/0.000814, allocations: 84.44 kB / 19.91 MB, free: 4 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.0008124/0.0008124, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9204/0.9204, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-531:686: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-531:694: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.7682/0.7682, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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: 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.001011/0.001011, allocations: 75.89 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4984, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001539/0.5, allocations: 0.7095 MB / 0.7198 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.5011, allocations: 1.181 MB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.5011, allocations: 0 / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.5012, allocations: 4.547 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.5012, allocations: 10.92 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.5016, allocations: 134.3 kB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.5018, allocations: 125.2 kB / 0.7212 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.5019, allocations: 14.05 kB / 0.7212 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.502, allocations: 64.58 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.5021, allocations: 49.62 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.5021, allocations: 11 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.5022, allocations: 22.92 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.5022, allocations: 8.469 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.5023, allocations: 38.59 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.5024, allocations: 132.4 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5024, allocations: 1.125 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5024, allocations: 0 / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5024, allocations: 7.875 kB / 0.7216 GB, free: 22.02 MB / 0.6355 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.0004426/0.5029, allocations: 339.9 kB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5029, allocations: 9.031 kB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.503, allocations: 10.42 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/0.503, allocations: 116 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.5031, allocations: 4.391 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.5031, allocations: 11.7 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.5032, allocations: 63.44 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5032, allocations: 192 / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5033, allocations: 4.547 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5033, allocations: 1.766 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.5034, allocations: 47.06 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.5038, allocations: 262.5 kB / 0.7224 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.5039, allocations: 53.62 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.5039, allocations: 37.88 kB / 0.7225 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.5039, allocations: 1.312 kB / 0.7225 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.5041, allocations: 96.25 kB / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.5041, allocations: 0 / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002979/0.5044, allocations: 141.9 kB / 0.7227 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.5044, allocations: 54.14 kB / 0.7228 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/0.5045, allocations: 116.9 kB / 0.7229 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.5045, allocations: 33.59 kB / 0.7229 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.5045, allocations: 89.14 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.5046, allocations: 25.03 kB / 0.723 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.5046, allocations: 38.2 kB / 0.7231 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.5047, allocations: 319.2 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.5048, allocations: 77.98 kB / 0.7234 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.5049, allocations: 125.9 kB / 0.7236 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.505, allocations: 142.5 kB / 0.7237 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.505, allocations: 0 / 0.7237 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002797/0.5053, allocations: 246.1 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.5054, allocations: 38.36 kB / 0.724 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5054, allocations: 1.125 kB / 0.724 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5054, allocations: 6.25 kB / 0.724 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.5054, allocations: 15.56 kB / 0.724 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.5054, allocations: 2.203 kB / 0.724 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5056, allocations: 38.94 kB / 0.724 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.5056, allocations: 7.359 kB / 0.724 GB, free: 20 MB / 0.6355 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.875e-05/0.5057, allocations: 120.3 kB / 0.7241 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.5057, allocations: 14.84 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.5057, allocations: 15.5 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5057, allocations: 4.656 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5057, allocations: 3.938 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.5057, allocations: 8 kB / 0.7242 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.5057, allocations: 1.875 kB / 0.7242 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.5058, allocations: 10.17 kB / 0.7242 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.5058, allocations: 7.25 kB / 0.7242 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001753/0.506, allocations: 187.1 kB / 0.7244 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001674/0.5061, allocations: 288.9 kB / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.599e-05/0.5062, allocations: 32.78 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.5062, allocations: 98.34 kB / 0.7248 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of Backend: time 2.21e-07/0.5062, allocations: 1.094 kB / 0.7248 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004248/0.5067, allocations: 237.7 kB / 0.725 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003597/0.507, allocations: 0.6103 MB / 0.7256 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.004047/0.5111, allocations: 1.717 MB / 0.7273 GB, free: 18.42 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.298177917953581] Failed to read output from testmodel.py, exit status != 0: 0.516943905968219 0.5275193920000001 0.023207520000000002 Calling exit ...