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.00129/0.00129, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009501/0.0009501, allocations: 165 kB / 23.02 MB, free: 1.543 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.9579/0.9579, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.787/0.787, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.844e-06/1.844e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.873e-05, allocations: 4.125 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001315/0.001334, allocations: 0.7242 MB / 0.521 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.002572, allocations: 1.208 MB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.002618, allocations: 2.281 kB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.002649, allocations: 3.938 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.002721, allocations: 11.88 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.003123, allocations: 139.5 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.00327, allocations: 113.5 kB / 0.5225 GB, free: 16 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.003358, allocations: 15.97 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.003461, allocations: 63.86 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.003537, allocations: 39.88 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.00356, allocations: 12.56 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.336e-05/0.003613, allocations: 23.98 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.003636, allocations: 16.83 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.003682, allocations: 31.97 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003822, allocations: 96.78 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003824, allocations: 0 / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003825, allocations: 0 / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003829, allocations: 0.7812 kB / 0.5228 GB, free: 15.71 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.0004328/0.004262, allocations: 438.1 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.004295, allocations: 9.062 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.004353, allocations: 16.89 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.004431, allocations: 108.6 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.004445, allocations: 5.875 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.004466, allocations: 16.3 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.004584, allocations: 70.86 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.004594, allocations: 1.312 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.004605, allocations: 8.359 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.004613, allocations: 4.375 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.004652, allocations: 16.61 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.00502, allocations: 320.8 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.005112, allocations: 43.11 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.005139, allocations: 15.67 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.005149, allocations: 5.125 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.409e-05/0.005243, allocations: 85.02 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.005245, allocations: 0.7812 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001978/0.005442, allocations: 93.7 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.005471, allocations: 60.23 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.00555, allocations: 179.2 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.005567, allocations: 29.7 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.005618, allocations: 145.4 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.005633, allocations: 7.906 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.005683, allocations: 43.36 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.005785, allocations: 0.4923 MB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.005855, allocations: 65.67 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.005936, allocations: 112 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.814e-05/0.006035, allocations: 121.9 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006037, allocations: 0 / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002081/0.006245, allocations: 214.3 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.00627, allocations: 33.7 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.006275, allocations: 4.5 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.006289, allocations: 0.9688 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.006355, allocations: 11.98 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00636, allocations: 3.938 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.006445, allocations: 36.7 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.00646, allocations: 8.625 kB / 0.5255 GB, free: 12.65 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.526e-05/0.006535, allocations: 171.6 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.006548, allocations: 11.89 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.006576, allocations: 12.42 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.006579, allocations: 4 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.006582, allocations: 0 / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006586, allocations: 0 / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.006812, allocations: 337.4 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006813, allocations: 2.438 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.006836, allocations: 7.938 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.006838, allocations: 0 / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.006847, allocations: 4 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.006848, allocations: 0 / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.00685, allocations: 3.984 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.006965, allocations: 227.8 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.006975, allocations: 13.2 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.00699, allocations: 3.984 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.007032, allocations: 8 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.007065, allocations: 4.859 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.007071, allocations: 4 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.007108, allocations: 139.8 kB / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007108, allocations: 0 / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001812/0.007289, allocations: 27.94 kB / 0.5264 GB, free: 11.62 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 9.502e-05/0.007384, allocations: 109.7 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.007563, allocations: 165.2 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007565, allocations: 0 / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.007602, allocations: 27.67 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.007788, allocations: 27.23 kB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.008055, allocations: 174.4 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.008089, allocations: 59.3 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.008111, allocations: 7.984 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.008141, allocations: 12.5 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.008141, allocations: 1.406 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.002958/0.0111, allocations: 1.57 MB / 0.5285 GB, free: 9.5 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.913744519930333]