Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.0008946/0.0008946, allocations: 93.06 kB / 19.65 MB, free: 276 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.0008937/0.0008937, allocations: 169 kB / 23.02 MB, free: 1.543 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.8848/0.8848, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7746/0.7746, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.946e-05, allocations: 10.78 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001263/0.001282, allocations: 0.7294 MB / 0.5211 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.002596, allocations: 1.202 MB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.002639, allocations: 1.031 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.002667, allocations: 3.938 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.002746, allocations: 21.02 kB / 0.5223 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.003141, allocations: 128.2 kB / 0.5224 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.003281, allocations: 123.7 kB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.003365, allocations: 13.02 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.003483, allocations: 63.94 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.003557, allocations: 43.86 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.003579, allocations: 13.56 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.266e-05/0.003632, allocations: 16 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.003653, allocations: 15.92 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.003701, allocations: 35.95 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.003849, allocations: 100.9 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003851, allocations: 0 / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003852, allocations: 0 / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.003856, allocations: 0.6875 kB / 0.5228 GB, free: 15.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004514/0.004307, allocations: 435.4 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.004346, allocations: 8.031 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.004402, allocations: 12.89 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.004495, allocations: 116.5 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.004511, allocations: 9.688 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.004527, allocations: 4.375 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.004656, allocations: 74.86 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004664, allocations: 0.9688 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.004673, allocations: 384 / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.004681, allocations: 1.219 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/0.00472, allocations: 19.91 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.005115, allocations: 326.3 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.005216, allocations: 47.11 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.005241, allocations: 15.81 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.005248, allocations: 0 / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.325e-05/0.005341, allocations: 84.91 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.005342, allocations: 0 / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002027/0.005545, allocations: 98.17 kB / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.005579, allocations: 55.91 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.005655, allocations: 182.4 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.005673, allocations: 29.7 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.005721, allocations: 136 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.005737, allocations: 15.91 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.005787, allocations: 48.84 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.005889, allocations: 0.4884 MB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.005958, allocations: 65.61 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.006036, allocations: 108.1 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.006132, allocations: 117.6 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006134, allocations: 4.969 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002017/0.006336, allocations: 213.4 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.006369, allocations: 47.31 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006373, allocations: 0 / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.006386, allocations: 4 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.006445, allocations: 8 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00645, allocations: 3.938 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.006536, allocations: 31.86 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.006551, allocations: 12 kB / 0.5255 GB, free: 12.66 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.964e-05/0.006621, allocations: 170.9 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.006634, allocations: 15.89 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.006656, allocations: 8.438 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006658, allocations: 0 / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.006661, allocations: 0 / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.006665, allocations: 4 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.006872, allocations: 342.4 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006873, allocations: 0 / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.006896, allocations: 7.984 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006898, allocations: 1 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.006905, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006906, allocations: 1.031 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006907, allocations: 4 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.00702, allocations: 231.8 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.007028, allocations: 8.672 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.007044, allocations: 4 kB / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.007076, allocations: 2.75 kB / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.007113, allocations: 15.92 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.00712, allocations: 7.984 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.007157, allocations: 129.3 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007158, allocations: 0 / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000168/0.007326, allocations: 24 kB / 0.5264 GB, free: 11.64 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.867e-05/0.007424, allocations: 106.1 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.007607, allocations: 167.2 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007608, allocations: 0 / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.007643, allocations: 28.14 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.007829, allocations: 25.42 kB / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.008085, allocations: 166.6 kB / 0.5269 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.367e-05/0.008119, allocations: 68.41 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.00814, allocations: 4 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.008164, allocations: 17.16 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.008164, allocations: 0 / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of Templates: time 0.003237/0.0114, allocations: 1.714 MB / 0.5287 GB, free: 9.395 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4969296944327652]