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.0007194/0.0007194, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007217/0.0007217, 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.8386/0.8386, allocations: 177.2 MB / 203.6 MB, free: 5.781 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-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 0.7067/0.7067, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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: 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.0008995/0.0008995, allocations: 68.53 kB / 0.6196 GB, free: 13.1 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3873, allocations: 101.9 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001278/0.3886, allocations: 0.7389 MB / 0.7198 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.3894, allocations: 1.169 MB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.3895, allocations: 3.938 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.3895, allocations: 6.016 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.3896, allocations: 14.77 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.3899, allocations: 136.6 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.3901, allocations: 125.6 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.3902, allocations: 11.02 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.3903, allocations: 69.41 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.3903, allocations: 42.66 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3904, allocations: 9.562 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.3904, allocations: 23.53 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.3904, allocations: 13.55 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.3905, allocations: 42.67 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3907, allocations: 132.5 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3907, allocations: 1.188 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3907, allocations: 0 / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3907, allocations: 0 / 0.7216 GB, free: 22.1 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.0004036/0.3911, allocations: 345.7 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3911, allocations: 13.41 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.3911, allocations: 6.5 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.17e-05/0.3912, allocations: 117 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3912, allocations: 16.16 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3912, allocations: 6.859 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.3913, allocations: 65.27 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3914, allocations: 192 / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3914, allocations: 5.516 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3914, allocations: 2.078 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.3915, allocations: 42.5 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.3918, allocations: 266.7 kB / 0.7224 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3919, allocations: 60.7 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.3919, allocations: 28.59 kB / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.392, allocations: 5.156 kB / 0.7225 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.3921, allocations: 88.5 kB / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.3921, allocations: 1.125 kB / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002641/0.3923, allocations: 145.5 kB / 0.7227 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.3924, allocations: 54.41 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.102e-05/0.3924, allocations: 125.7 kB / 0.7229 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.3924, allocations: 31.89 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.3925, allocations: 94.69 kB / 0.723 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.3925, allocations: 16.08 kB / 0.723 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.3925, allocations: 39.86 kB / 0.7231 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.686e-05/0.3926, allocations: 318.3 kB / 0.7234 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/0.3926, allocations: 86.59 kB / 0.7235 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.803e-05/0.3927, allocations: 116.3 kB / 0.7236 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3929, allocations: 143.5 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3929, allocations: 4.906 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002484/0.3931, allocations: 242 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3932, allocations: 38.97 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3932, allocations: 2.5 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3932, allocations: 1.344 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.3932, allocations: 10.67 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3932, allocations: 7.078 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3934, allocations: 42.47 kB / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3934, allocations: 10.92 kB / 0.7241 GB, free: 20.06 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 4.705e-05/0.3934, allocations: 127.7 kB / 0.7242 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.3934, allocations: 3.312 kB / 0.7242 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.3934, allocations: 12.03 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3934, allocations: 1.125 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3934, allocations: 0 / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3935, allocations: 0.5625 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3937, allocations: 332.4 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3937, allocations: 0 / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.3937, allocations: 8.656 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3937, allocations: 3.938 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3937, allocations: 1.984 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3937, allocations: 1.875 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3937, allocations: 3.938 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.3939, allocations: 210.3 kB / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.3939, allocations: 6.672 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3939, allocations: 2.859 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.402e-05/0.3939, allocations: 6.344 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.394, allocations: 10.84 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.394, allocations: 5.891 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.394, allocations: 92.5 kB / 0.7248 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.394, allocations: 0 / 0.7248 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001697/0.3942, allocations: 28.7 kB / 0.7249 GB, free: 19.39 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 8.028e-05/0.3942, allocations: 116.4 kB / 0.725 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3945, allocations: 188.2 kB / 0.7252 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3945, allocations: 0 / 0.7252 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.3945, allocations: 37.42 kB / 0.7252 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.3947, allocations: 12.98 kB / 0.7252 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.3949, allocations: 194.6 kB / 0.7254 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.395, allocations: 78 kB / 0.7255 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.395, allocations: 13.52 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.395, allocations: 1.188 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.002067/0.3971, allocations: 1.302 MB / 0.7268 GB, free: 18.8 MB / 0.6355 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.294036800973117] Failed to read output from testmodel.py, exit status != 0: 0.4018049899023026 0.40927443500000005 0.017066895000000002 Calling exit ...