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.0008899/0.0008899, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009348/0.0009348, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9109/0.9109, allocations: 177.1 MB / 203.7 MB, free: 5.512 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-545:108: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-545:116: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.7155/0.7155, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.439e-05, allocations: 2.969 kB / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.004444/0.004458, allocations: 0.7324 MB / 0.5215 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.005693, allocations: 1.2 MB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.005738, allocations: 0 / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.005762, allocations: 11.88 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.005827, allocations: 8.672 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.006187, allocations: 140.8 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.00632, allocations: 119.7 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.00639, allocations: 16.73 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.006496, allocations: 67.88 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.006566, allocations: 36.56 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.006586, allocations: 8 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.006635, allocations: 20.83 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.006655, allocations: 15.92 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.006694, allocations: 36.84 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.006819, allocations: 91.81 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006821, allocations: 6.594 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006821, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.495e-06/0.006824, allocations: 3.938 kB / 0.5232 GB, free: 15.41 MB / 0.4948 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.003576/0.0104, allocations: 438.1 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.01043, allocations: 8.031 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.01047, allocations: 12.89 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.01054, allocations: 112.6 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.01056, allocations: 9.812 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.01057, allocations: 8.375 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.01068, allocations: 62.94 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.01069, allocations: 4.734 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.01069, allocations: 384 / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.0107, allocations: 5.406 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.01073, allocations: 11.88 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.01103, allocations: 301.4 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.0111, allocations: 51.11 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.01112, allocations: 12.25 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.01113, allocations: 4 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.36e-05/0.01121, allocations: 78.12 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.01121, allocations: 4 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001609/0.01137, allocations: 91.19 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.0114, allocations: 59.41 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.01148, allocations: 184.9 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.0115, allocations: 25.7 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.01155, allocations: 136.1 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.01157, allocations: 19.89 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.01163, allocations: 47.33 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01174, allocations: 0.4891 MB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.0118, allocations: 57.61 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.01187, allocations: 105.3 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.01197, allocations: 109.5 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01197, allocations: 4 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002144/0.01218, allocations: 201.8 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.01221, allocations: 44.38 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01222, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.01223, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.01228, allocations: 15.94 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01228, allocations: 4 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.01238, allocations: 31.86 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.0124, allocations: 6.75 kB / 0.5259 GB, free: 12.43 MB / 0.4948 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.329e-05/0.01247, allocations: 168.6 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.01248, allocations: 11.94 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.01251, allocations: 12.38 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01251, allocations: 4 kB / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01251, allocations: 0 / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01251, allocations: 1.312 kB / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.01273, allocations: 314 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01274, allocations: 4.062 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.01276, allocations: 4 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01276, allocations: 8.438 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.01277, allocations: 5.031 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.01277, allocations: 0 / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01277, allocations: 0 / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.01289, allocations: 228.5 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.0129, allocations: 15.31 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.01291, allocations: 8 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.01297, allocations: 3.984 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.01299, allocations: 7.984 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.013, allocations: 4 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.01304, allocations: 135.1 kB / 0.5268 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01304, allocations: 0 / 0.5268 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003255/0.01629, allocations: 20 kB / 0.5268 GB, free: 11.43 MB / 0.4948 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.0001084/0.0164, allocations: 112.2 kB / 0.5269 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.01658, allocations: 160.7 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01658, allocations: 0 / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.01661, allocations: 24.09 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.01684, allocations: 16.98 kB / 0.5271 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.01709, allocations: 171.6 kB / 0.5272 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.01712, allocations: 55.36 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.01714, allocations: 8.828 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.01723, allocations: 95.94 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01723, allocations: 0 / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.005099/0.02233, allocations: 1.721 MB / 0.5291 GB, free: 9.121 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3299738001078367]