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.0008652/0.0008652, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0007864/0.0007864, allocations: 173.2 kB / 23.2 MB, free: 1.367 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.9004/0.9004, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7593/0.7593, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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.0008347/0.0008347, allocations: 70.92 kB / 0.6196 GB, free: 13.16 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.508/0.5088, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001708/0.5105, allocations: 0.7188 MB / 0.7198 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.5119, allocations: 1.177 MB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.5119, allocations: 0.9688 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.512, allocations: 8.625 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.5121, allocations: 11.28 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.5126, allocations: 141.2 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.5128, allocations: 122 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.5129, allocations: 14.52 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.513, allocations: 68.88 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.5131, allocations: 46.59 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.5132, allocations: 10.81 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/0.5132, allocations: 19.08 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.5133, allocations: 17.02 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.5133, allocations: 33.83 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.5136, allocations: 137.8 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5136, allocations: 0 / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5136, allocations: 1.156 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.5136, allocations: 7.938 kB / 0.7216 GB, free: 22.05 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.0006158/0.5143, allocations: 341.8 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.5143, allocations: 8.25 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.5144, allocations: 7.312 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.5145, allocations: 119.9 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.5145, allocations: 4.297 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.5145, allocations: 11.95 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.5147, allocations: 64.28 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5147, allocations: 192 / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5148, allocations: 9.625 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5148, allocations: 1.094 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.5149, allocations: 52.94 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.5154, allocations: 257.8 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.5156, allocations: 60.41 kB / 0.7225 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.5157, allocations: 29.08 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5157, allocations: 4.938 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.5159, allocations: 87.64 kB / 0.7226 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.5159, allocations: 1.25 kB / 0.7226 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003722/0.5163, allocations: 145.8 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.5163, allocations: 54.08 kB / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.5164, allocations: 117 kB / 0.7229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5165, allocations: 32.83 kB / 0.7229 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.5165, allocations: 94.77 kB / 0.723 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.5165, allocations: 15.64 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.5166, allocations: 39.52 kB / 0.7231 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.5166, allocations: 319.5 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5168, allocations: 86.42 kB / 0.7235 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.5169, allocations: 112.8 kB / 0.7236 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.5171, allocations: 146.8 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5171, allocations: 0 / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003032/0.5174, allocations: 246.7 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.5174, allocations: 41 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5174, allocations: 1.312 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5175, allocations: 6.25 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.5175, allocations: 11.42 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5176, allocations: 1.094 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.5177, allocations: 39.58 kB / 0.724 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.5177, allocations: 7.938 kB / 0.7241 GB, free: 20.04 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.668e-05/0.5178, allocations: 130.7 kB / 0.7242 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.5178, allocations: 13.14 kB / 0.7242 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.5178, allocations: 18.75 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5178, allocations: 0 / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5178, allocations: 4.734 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-06/0.5178, allocations: 7.578 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5178, allocations: 2.766 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/0.5179, allocations: 9.688 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.5179, allocations: 15.06 kB / 0.7242 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001908/0.5181, allocations: 182.5 kB / 0.7244 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001795/0.5183, allocations: 289.3 kB / 0.7247 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.189e-05/0.5184, allocations: 37.2 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.5184, allocations: 91.33 kB / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of Backend: time 2.51e-07/0.5184, allocations: 0 / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.5188, allocations: 235.3 kB / 0.725 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004146/0.5193, allocations: 0.6114 MB / 0.7256 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.004298/0.5236, allocations: 1.731 MB / 0.7273 GB, free: 18.45 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.343861537985504] Failed to read output from testmodel.py, exit status != 0: 0.5293072471395135 0.5416415010000001 0.02592074 Calling exit ...