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.001216/0.001216, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001369/0.001369, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8864/0.8864, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.7826/0.7826, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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.245e-06/2.245e-06, allocations: 0 / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.641e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002016/0.002042, allocations: 0.7269 MB / 0.5223 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.003683, allocations: 1.201 MB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.00374, allocations: 0.6875 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.003773, allocations: 5.219 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/0.003861, allocations: 11.88 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.004326, allocations: 136.7 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.004519, allocations: 115.8 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.004617, allocations: 24.42 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.004754, allocations: 65.83 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.869e-05/0.004852, allocations: 35.94 kB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.004884, allocations: 12 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.004961, allocations: 27.86 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.004989, allocations: 11.98 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.005045, allocations: 35.91 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.005217, allocations: 97.25 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005219, allocations: 0 / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.92e-07/0.00522, allocations: 0 / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.005224, allocations: 0 / 0.524 GB, free: 15.4 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.0005298/0.005754, allocations: 439.5 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.005795, allocations: 8.031 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.005848, allocations: 12.89 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.561e-05/0.005944, allocations: 120.6 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.005959, allocations: 4.375 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.005982, allocations: 12.38 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.006112, allocations: 67.89 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006121, allocations: 4.188 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.006129, allocations: 1.375 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.006134, allocations: 384 / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.006173, allocations: 15.92 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.006577, allocations: 297.7 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.006682, allocations: 51.17 kB / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.006707, allocations: 12.81 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.006714, allocations: 0 / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.006835, allocations: 81.08 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.006836, allocations: 0.625 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002128/0.007049, allocations: 95.2 kB / 0.5251 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.007088, allocations: 55.41 kB / 0.5252 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.007194, allocations: 181.8 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.00722, allocations: 33.64 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.007292, allocations: 134.9 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.007317, allocations: 25.69 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.007393, allocations: 43.28 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.007533, allocations: 0.4923 MB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.007608, allocations: 49.69 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.007708, allocations: 105.9 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.007839, allocations: 112 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007841, allocations: 0.75 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002798/0.008121, allocations: 197.9 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.008155, allocations: 42.56 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.00816, allocations: 0 / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.008171, allocations: 4 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.008243, allocations: 15.25 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.008247, allocations: 0 / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.008375, allocations: 31.86 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.008395, allocations: 8 kB / 0.5266 GB, free: 12.43 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 9.803e-05/0.008493, allocations: 174 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.008515, allocations: 11.95 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.008543, allocations: 15.28 kB / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008545, allocations: 0 / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.008547, allocations: 0 / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.00855, allocations: 0 / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.008853, allocations: 318 kB / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.008856, allocations: 0 / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.008894, allocations: 4 kB / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.008897, allocations: 3.938 kB / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.008902, allocations: 1.5 kB / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.008907, allocations: 4 kB / 0.5271 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008908, allocations: 0 / 0.5271 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.00903, allocations: 223.9 kB / 0.5273 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.009043, allocations: 25.44 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.009058, allocations: 7.984 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.009096, allocations: 4 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.009125, allocations: 7.984 kB / 0.5274 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.00913, allocations: 5.219 kB / 0.5274 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.009169, allocations: 139.2 kB / 0.5275 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009169, allocations: 0 / 0.5275 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001675/0.009337, allocations: 20.53 kB / 0.5275 GB, free: 11.42 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.0001045/0.009441, allocations: 108 kB / 0.5277 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.009593, allocations: 155.4 kB / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009594, allocations: 0 / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.009631, allocations: 32.06 kB / 0.5278 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.009813, allocations: 16.09 kB / 0.5278 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.01005, allocations: 168.9 kB / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.299e-05/0.01009, allocations: 55.36 kB / 0.5281 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.01011, allocations: 7.984 kB / 0.5281 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.01019, allocations: 94.19 kB / 0.5282 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01019, allocations: 2 kB / 0.5282 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.003143/0.01333, allocations: 1.75 MB / 0.5299 GB, free: 9.078 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.4556460049934685]