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.00191/0.00191, allocations: 93.47 kB / 19.44 MB, free: 336 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.002187/0.002187, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.332/1.332, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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.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.274e-06/2.274e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.61e-05, allocations: 2.969 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002083/0.002119, allocations: 0.7299 MB / 0.5203 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.00402, allocations: 1.172 MB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.004082, allocations: 4 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.00411, allocations: 3.938 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.004198, allocations: 12.8 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.004693, allocations: 136.9 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.004904, allocations: 119.7 kB / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.005002, allocations: 11.98 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.00515, allocations: 73.08 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005256, allocations: 35.89 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.00529, allocations: 8 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.005364, allocations: 24.61 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.005406, allocations: 19.92 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.005475, allocations: 33.25 kB / 0.522 GB, free: 172 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.005726, allocations: 131.6 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.005731, allocations: 4 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005732, allocations: 0 / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005737, allocations: 1.125 kB / 0.5221 GB, free: 36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007639/0.006501, allocations: 437.8 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.006551, allocations: 8.562 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.006629, allocations: 12.89 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.006763, allocations: 113.1 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.00678, allocations: 6.25 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.006808, allocations: 12.38 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.007033, allocations: 62.17 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.007043, allocations: 192 / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.007056, allocations: 4.359 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.00706, allocations: 1.969 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.0072, allocations: 35.86 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.007767, allocations: 333.1 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.007962, allocations: 55.11 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.008044, allocations: 27.8 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.008059, allocations: 0.9688 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.008248, allocations: 88.97 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.008249, allocations: 1.469 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004096/0.008659, allocations: 137.5 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.008706, allocations: 55.91 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.008944, allocations: 193.3 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.008979, allocations: 34.73 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.009085, allocations: 142.9 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.009112, allocations: 15.91 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.009207, allocations: 52.47 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.009477, allocations: 0.4884 MB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.009659, allocations: 82.2 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.009894, allocations: 145.8 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.01017, allocations: 153.9 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01017, allocations: 0 / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004845/0.01066, allocations: 251 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.01071, allocations: 29.7 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01071, allocations: 7.938 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01073, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.01082, allocations: 11.98 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.01083, allocations: 4 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.011, allocations: 30.38 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.01102, allocations: 7.984 kB / 0.525 GB, free: 12.77 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 0.0001587/0.01118, allocations: 178.7 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.0112, allocations: 15.83 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.01124, allocations: 14.53 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01124, allocations: 3.984 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01125, allocations: 0 / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01125, allocations: 0 / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.01188, allocations: 361.4 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.01189, allocations: 5.016 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.01193, allocations: 7.938 kB / 0.5256 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01193, allocations: 4.938 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01195, allocations: 4 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01195, allocations: 0 / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01195, allocations: 3.25 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.01228, allocations: 259.8 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.01229, allocations: 3.953 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01231, allocations: 4 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.01238, allocations: 3.984 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.01243, allocations: 11.98 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.01244, allocations: 0 / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.65e-05/0.01253, allocations: 143.2 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01253, allocations: 2.844 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000267/0.0128, allocations: 24 kB / 0.526 GB, free: 11.68 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 0.0001788/0.01298, allocations: 99.19 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.01341, allocations: 218.2 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01341, allocations: 0 / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.01353, allocations: 43.66 kB / 0.5264 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.01383, allocations: 17.97 kB / 0.5264 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.01425, allocations: 173.4 kB / 0.5265 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.01434, allocations: 76.75 kB / 0.5266 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.01438, allocations: 8.484 kB / 0.5266 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.01442, allocations: 13.84 kB / 0.5266 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01442, allocations: 3.938 kB / 0.5266 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.00537/0.01979, allocations: 1.577 MB / 0.5282 GB, free: 9.484 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: 6.11520377593115]