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.00151/0.00151, allocations: 79.73 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001554/0.001554, allocations: 169.2 kB / 22.45 MB, free: 5.371 MB / 14.72 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.402/1.402, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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-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 1.189/1.189, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 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 1.633e-06/1.633e-06, allocations: 0 / 0.6188 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.293e-05, allocations: 6.219 kB / 0.6188 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001757/0.00178, allocations: 0.7194 MB / 0.6195 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.003546, allocations: 1.178 MB / 0.6206 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.003596, allocations: 0 / 0.6206 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.003624, allocations: 7.938 kB / 0.6206 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.003698, allocations: 7.875 kB / 0.6206 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.004199, allocations: 135.2 kB / 0.6208 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.004387, allocations: 123.7 kB / 0.6209 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.00448, allocations: 11.98 kB / 0.6209 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.004616, allocations: 75.88 kB / 0.621 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.00471, allocations: 35.94 kB / 0.621 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.004738, allocations: 8 kB / 0.621 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/0.004801, allocations: 27.92 kB / 0.621 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.004826, allocations: 11.94 kB / 0.621 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.00489, allocations: 35.95 kB / 0.6211 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.005089, allocations: 127.7 kB / 0.6212 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.005093, allocations: 4 kB / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005093, allocations: 0 / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005098, allocations: 0 / 0.6212 GB, free: 2.059 MB / 0.5294 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.0005821/0.00568, allocations: 339.7 kB / 0.6215 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.005712, allocations: 8.031 kB / 0.6215 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.00576, allocations: 8.938 kB / 0.6215 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.005867, allocations: 125.7 kB / 0.6217 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.005883, allocations: 4.375 kB / 0.6217 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.005903, allocations: 4.375 kB / 0.6217 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.006092, allocations: 70.16 kB / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.0061, allocations: 192 / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.006115, allocations: 8.375 kB / 0.6217 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.006121, allocations: 8.297 kB / 0.6217 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.006312, allocations: 47.89 kB / 0.6218 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.006754, allocations: 264.4 kB / 0.622 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.006925, allocations: 54.61 kB / 0.6221 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.922e-05/0.007025, allocations: 28.97 kB / 0.6221 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.00704, allocations: 4 kB / 0.6221 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.00726, allocations: 95.36 kB / 0.6222 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.007261, allocations: 0 / 0.6222 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004306/0.007691, allocations: 141.5 kB / 0.6224 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.007751, allocations: 59.39 kB / 0.6224 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.007846, allocations: 120.6 kB / 0.6225 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.007877, allocations: 33.7 kB / 0.6226 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.007955, allocations: 96.08 kB / 0.6227 GB, free: 420 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.007978, allocations: 23.84 kB / 0.6227 GB, free: 396 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.008051, allocations: 37.7 kB / 0.6227 GB, free: 352 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.008196, allocations: 318.8 kB / 0.623 GB, free: 24 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.008399, allocations: 85.66 kB / 0.6231 GB, free: 15.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.008598, allocations: 110 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.008889, allocations: 149.8 kB / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008891, allocations: 0 / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004837/0.009375, allocations: 240.8 kB / 0.6236 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.009416, allocations: 37.69 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009422, allocations: 0 / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.009439, allocations: 4 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.009531, allocations: 20.05 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.009536, allocations: 0 / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.00975, allocations: 39.91 kB / 0.6237 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.009771, allocations: 8 kB / 0.6237 GB, free: 15.27 MB / 0.545 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.0001064/0.009877, allocations: 122.8 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.009894, allocations: 7.938 kB / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.009925, allocations: 12.42 kB / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.009927, allocations: 4 kB / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.00993, allocations: 0 / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.009933, allocations: 0 / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.01041, allocations: 330 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01042, allocations: 0 / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.01047, allocations: 7.984 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01047, allocations: 0 / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.01049, allocations: 4 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01049, allocations: 400 / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.01049, allocations: 7.938 kB / 0.6242 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.01085, allocations: 211.4 kB / 0.6244 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.01086, allocations: 7.953 kB / 0.6244 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.01087, allocations: 0 / 0.6244 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.01097, allocations: 8.047 kB / 0.6244 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.01101, allocations: 15.98 kB / 0.6244 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01102, allocations: 4 kB / 0.6244 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.01108, allocations: 91.27 kB / 0.6245 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01108, allocations: 0 / 0.6245 GB, free: 14.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002529/0.01133, allocations: 24 kB / 0.6245 GB, free: 14.36 MB / 0.545 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.0001462/0.01148, allocations: 103.2 kB / 0.6246 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.01191, allocations: 197 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01191, allocations: 3.938 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01203, allocations: 36.16 kB / 0.6248 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.0123, allocations: 22.59 kB / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.01268, allocations: 157.2 kB / 0.625 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.17e-05/0.01276, allocations: 79.27 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.0128, allocations: 7.984 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.01283, allocations: 16.44 kB / 0.6251 GB, free: 13.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.01283, allocations: 0 / 0.6251 GB, free: 13.68 MB / 0.545 GB Notification: Performance of Templates: time 0.004805/0.01764, allocations: 1.579 MB / 0.6266 GB, free: 12.16 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6596040446311235] Failed to read output from testmodel.py, exit status != 0: 0.025980522856116295 0.041568939 0.033416397 Calling exit ...