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.001282/0.001282, 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.001533/0.001533, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.9372/0.9372, allocations: 177.2 MB / 203.6 MB, free: 5.648 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.7467/0.7467, allocations: 154.9 MB / 414.9 MB, free: 492 kB / 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.0009049/0.0009049, allocations: 77.55 kB / 0.6199 GB, free: 12.76 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.4928/0.4937, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001721/0.4954, allocations: 0.7171 MB / 0.7202 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4966, allocations: 1.171 MB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.4967, allocations: 1.219 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.4967, allocations: 4.547 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.4968, allocations: 19.2 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.4972, allocations: 138 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.4974, allocations: 117.6 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.4975, allocations: 14.38 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.4976, allocations: 65.98 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4977, allocations: 45.33 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.4978, allocations: 10.81 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.876e-05/0.4978, allocations: 23.38 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.4979, allocations: 17.12 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.4979, allocations: 38.33 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.4981, allocations: 115.9 kB / 0.7219 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4981, allocations: 0.7812 kB / 0.7219 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4981, allocations: 0 / 0.7219 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4981, allocations: 0 / 0.7219 GB, free: 21.9 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.0004917/0.4986, allocations: 342.4 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4987, allocations: 10.44 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.4987, allocations: 11.73 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.4988, allocations: 115 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4988, allocations: 13.17 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.4988, allocations: 7.562 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.499, allocations: 68.58 kB / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.499, allocations: 192 / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.499, allocations: 5.688 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.499, allocations: 1 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.4991, allocations: 44.58 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.4995, allocations: 262.4 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.4997, allocations: 64.91 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.4997, allocations: 27.06 kB / 0.7228 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.4997, allocations: 1.156 kB / 0.7228 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.4999, allocations: 89.97 kB / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.4999, allocations: 3.938 kB / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003532/0.5003, allocations: 149 kB / 0.723 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5003, allocations: 53.56 kB / 0.7231 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.5004, allocations: 121.6 kB / 0.7232 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5004, allocations: 29.23 kB / 0.7232 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.5005, allocations: 101.9 kB / 0.7233 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.5005, allocations: 12.69 kB / 0.7234 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.5005, allocations: 38.42 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.5006, allocations: 320.4 kB / 0.7237 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.5007, allocations: 86.72 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.5008, allocations: 116.5 kB / 0.7239 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.501, allocations: 138.8 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.501, allocations: 7.875 kB / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003272/0.5014, allocations: 239.1 kB / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.5014, allocations: 38.52 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5014, allocations: 1.094 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5014, allocations: 2.812 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.5015, allocations: 15.62 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5015, allocations: 5.109 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.5017, allocations: 43.67 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.5017, allocations: 11.09 kB / 0.7244 GB, free: 19.87 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 7.321e-05/0.5017, allocations: 123.6 kB / 0.7245 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.5018, allocations: 3.969 kB / 0.7245 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.5018, allocations: 10.69 kB / 0.7245 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5018, allocations: 2.25 kB / 0.7245 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5018, allocations: 0 / 0.7245 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5018, allocations: 0 / 0.7245 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.5021, allocations: 331.8 kB / 0.7248 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5021, allocations: 11.86 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.5022, allocations: 8.781 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5022, allocations: 1.062 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5022, allocations: 2 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5022, allocations: 1.031 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5022, allocations: 0 / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.5023, allocations: 214.1 kB / 0.725 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.5023, allocations: 11.17 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.5024, allocations: 1.641 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.5024, allocations: 8.062 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.5025, allocations: 6.312 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.5025, allocations: 10.5 kB / 0.7251 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.5025, allocations: 91.39 kB / 0.7252 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5025, allocations: 0 / 0.7252 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001916/0.5027, allocations: 29.03 kB / 0.7252 GB, free: 19.19 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.000112/0.5028, allocations: 113.8 kB / 0.7253 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.5031, allocations: 187.7 kB / 0.7255 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5031, allocations: 0 / 0.7255 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.5031, allocations: 41.97 kB / 0.7255 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.5033, allocations: 11.77 kB / 0.7255 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.5036, allocations: 167.1 kB / 0.7257 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.5037, allocations: 73.28 kB / 0.7258 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.5037, allocations: 7.641 kB / 0.7258 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.5037, allocations: 13.27 kB / 0.7258 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of SimCode: time 4.9e-07/0.5037, allocations: 1.312 kB / 0.7258 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.003705/0.5074, allocations: 1.58 MB / 0.7273 GB, free: 18.55 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.385996903991327] Failed to read output from testmodel.py, exit status != 0: 0.5133675170363858 0.522886312 0.022867580000000002 Calling exit ...