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.0009809/0.0009809, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00116/0.00116, allocations: 173 kB / 23.5 MB, free: 1.055 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 1.097/1.097, allocations: 177.2 MB / 203.8 MB, free: 5.621 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.8141/0.8141, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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 3.016e-06/3.016e-06, allocations: 0 / 0.5203 GB, free: 2.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.456e-05/3.757e-05, allocations: 2.875 kB / 0.5203 GB, free: 2.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001587/0.001624, allocations: 0.7405 MB / 0.5211 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002818, allocations: 1.199 MB / 0.5222 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.002866, allocations: 0 / 0.5222 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.002894, allocations: 3.938 kB / 0.5222 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.002974, allocations: 17.73 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.003387, allocations: 131.6 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.003551, allocations: 119.7 kB / 0.5225 GB, free: 288 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.003647, allocations: 16.53 kB / 0.5225 GB, free: 272 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.003755, allocations: 63.89 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.003832, allocations: 40.81 kB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.003857, allocations: 12 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.003915, allocations: 24.92 kB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.003939, allocations: 15.97 kB / 0.5227 GB, free: 116 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.00399, allocations: 31.92 kB / 0.5227 GB, free: 84 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004167, allocations: 100.7 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00417, allocations: 0 / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004171, allocations: 1.031 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.004175, allocations: 0 / 0.5228 GB, free: 15.98 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.0004921/0.004667, allocations: 438.1 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.004709, allocations: 9.5 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.004766, allocations: 12.89 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.004856, allocations: 112.6 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.004869, allocations: 4.375 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.004887, allocations: 9.5 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.005026, allocations: 66.92 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.005033, allocations: 0.875 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.005045, allocations: 8.312 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.005053, allocations: 5.656 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.156e-05/0.005095, allocations: 19.91 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.00554, allocations: 315.5 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.005651, allocations: 52.02 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.00568, allocations: 16.3 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.005687, allocations: 0 / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.005796, allocations: 77.89 kB / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.005797, allocations: 0 / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002053/0.006003, allocations: 98.41 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.006039, allocations: 55.39 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.006127, allocations: 188.2 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.006145, allocations: 25.7 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.0062, allocations: 138.9 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.006219, allocations: 19.97 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.006279, allocations: 43.36 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.006396, allocations: 0.4923 MB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.006478, allocations: 62.52 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.006572, allocations: 112.1 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.00668, allocations: 125.7 kB / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.006682, allocations: 0.5625 kB / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002296/0.006912, allocations: 210.3 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.006947, allocations: 33.7 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006952, allocations: 0.5 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.006966, allocations: 4.906 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.007048, allocations: 15.92 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.007055, allocations: 0 / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.007147, allocations: 37.08 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.007163, allocations: 8 kB / 0.5255 GB, free: 12.93 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 8.834e-05/0.007251, allocations: 162.1 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.007266, allocations: 15.89 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.007296, allocations: 12.42 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007298, allocations: 0.875 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.007302, allocations: 0 / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007305, allocations: 5.75 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.007573, allocations: 341.3 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.007574, allocations: 0 / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.007611, allocations: 4 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.007614, allocations: 3.062 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-06/0.007622, allocations: 0 / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.007625, allocations: 4 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.007626, allocations: 3.938 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.00776, allocations: 235.8 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.00777, allocations: 7.953 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.00779, allocations: 7.984 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/0.007831, allocations: 4 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.007873, allocations: 10.42 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.007881, allocations: 4 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.007926, allocations: 138.5 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007926, allocations: 0 / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001751/0.008101, allocations: 20 kB / 0.5264 GB, free: 11.91 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.0001492/0.00825, allocations: 112.5 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.008465, allocations: 164.7 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.008467, allocations: 0.9375 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.008508, allocations: 27.61 kB / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.008724, allocations: 17.28 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.009056, allocations: 165.5 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.009405, allocations: 59.36 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.009431, allocations: 7.984 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.009458, allocations: 12.5 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.009459, allocations: 0 / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.003336/0.0128, allocations: 1.59 MB / 0.5285 GB, free: 9.789 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.857737618032843]