Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001005/0.001005, allocations: 80.45 kB / 19.9 MB, free: 12 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.001003/0.001003, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9119/0.9119, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7027/0.7027, allocations: 154.9 MB / 414.9 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") [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.0008733/0.0008733, allocations: 75.88 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4855/0.4864, allocations: 102 MB / 0.7194 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001669/0.488, allocations: 0.7138 MB / 0.7201 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.4893, allocations: 1.182 MB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.4893, allocations: 1.438 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.4894, allocations: 4.594 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.4894, allocations: 15.11 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.4899, allocations: 133 kB / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.4901, allocations: 127 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4902, allocations: 10.34 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4904, allocations: 73.03 kB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.4905, allocations: 37.42 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.4905, allocations: 10.16 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-05/0.4906, allocations: 24.42 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.4906, allocations: 12.84 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.4907, allocations: 42.86 kB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.4908, allocations: 116.2 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4909, allocations: 0.7031 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4909, allocations: 0 / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4909, allocations: 3.938 kB / 0.7219 GB, free: 21.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004837/0.4913, allocations: 347.5 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4914, allocations: 10.28 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.4914, allocations: 11.28 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.761e-05/0.4915, allocations: 115.1 kB / 0.7223 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4915, allocations: 4.875 kB / 0.7223 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.4915, allocations: 7.281 kB / 0.7224 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.4917, allocations: 64.47 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.4917, allocations: 1.844 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4917, allocations: 8.734 kB / 0.7224 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.4917, allocations: 5.125 kB / 0.7224 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.4918, allocations: 43.88 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.4922, allocations: 262.5 kB / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.4924, allocations: 65.45 kB / 0.7228 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.4925, allocations: 35.58 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.4925, allocations: 1.156 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.4927, allocations: 88.8 kB / 0.7229 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.4927, allocations: 0 / 0.7229 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003306/0.493, allocations: 145.8 kB / 0.723 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.493, allocations: 54.53 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.4931, allocations: 125.8 kB / 0.7232 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4931, allocations: 27.95 kB / 0.7232 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.4931, allocations: 94.55 kB / 0.7233 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.4932, allocations: 20.44 kB / 0.7234 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.4932, allocations: 38.88 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.66e-05/0.4933, allocations: 320 kB / 0.7237 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.4934, allocations: 84.77 kB / 0.7238 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.4935, allocations: 113.9 kB / 0.7239 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4937, allocations: 142.9 kB / 0.724 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4937, allocations: 3.938 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002968/0.494, allocations: 243.2 kB / 0.7243 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.494, allocations: 34.36 kB / 0.7243 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.494, allocations: 2.219 kB / 0.7243 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.494, allocations: 1.375 kB / 0.7243 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.4941, allocations: 19.08 kB / 0.7243 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.4941, allocations: 10.77 kB / 0.7243 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.4942, allocations: 38.28 kB / 0.7244 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.4942, allocations: 7.766 kB / 0.7244 GB, free: 19.86 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,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.666e-05/0.4943, allocations: 127.8 kB / 0.7245 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.4943, allocations: 3.25 kB / 0.7245 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.4943, allocations: 10.84 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4943, allocations: 5.062 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4943, allocations: 1.062 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4944, allocations: 0.7969 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.4947, allocations: 323.3 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4947, allocations: 4.688 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.4947, allocations: 8.406 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4947, allocations: 1.156 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4947, allocations: 1.125 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4947, allocations: 5.188 kB / 0.7248 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4947, allocations: 0 / 0.7248 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.4949, allocations: 218.2 kB / 0.725 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-06/0.4949, allocations: 4.047 kB / 0.725 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4949, allocations: 1.906 kB / 0.725 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.495, allocations: 10.3 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.495, allocations: 7.156 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.495, allocations: 6.344 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.4951, allocations: 94.5 kB / 0.7252 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4951, allocations: 5.156 kB / 0.7252 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001821/0.4952, allocations: 32.27 kB / 0.7252 GB, free: 19.17 MB / 0.6355 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.0001212/0.4954, allocations: 102.2 kB / 0.7253 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.4956, allocations: 193.3 kB / 0.7255 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4956, allocations: 0 / 0.7255 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.4957, allocations: 39.73 kB / 0.7255 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.4959, allocations: 14.75 kB / 0.7255 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.4963, allocations: 166.6 kB / 0.7257 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.499e-05/0.4964, allocations: 72.61 kB / 0.7258 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.4964, allocations: 8.984 kB / 0.7258 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.4964, allocations: 13.84 kB / 0.7258 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.4964, allocations: 4 kB / 0.7258 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.00395/0.5004, allocations: 1.588 MB / 0.7273 GB, free: 18.54 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.153439393965527] Failed to read output from testmodel.py, exit status != 0: 0.5081334980204701 0.5182774569999999 0.025421482000000002 Calling exit ...